Why are some programming languages better for certain types of projects than other programming languages, when they can all essentially do the same thing and they all seem to work the same way?

428 views

Why are some programming languages better for certain types of projects than other programming languages, when they can all essentially do the same thing and they all seem to work the same way?

In: 20

19 Answers

Anonymous 0 Comments

To give a more eli5 answer:

Programming languages are like a stack of layers. Every programming language is just an interface, or a library, to the layer below it.

Assembly is like an interface to the processor itself. Then C++ is an interface to Assembly. Then PHP is an interface to C++.

So although some object oriented programming languages seem to do the same thing, they’re really different interfaces to a lower language and will manipulate that lower language in varying ways for whatever it’s needed for as some of the other answers have explained.

Edit: this isn’t a description of the full stack. There are layers of interfaces between these.

You are viewing 1 out of 19 answers, click here to view all answers.