Eli5 why are there so many computer languages?

1.43K views

Why are there things like c++ and python when computers have to be programmed. Why does there need to be so many languages when one could solve it?

In: 222

64 Answers

Anonymous 0 Comments

I don’t think it has to do with some being better than others at different tasks. While it’s true that they are to some extent, many languages are interchangeable for many situations, and only exist because someone wanted to design a new language and it caught on. The state of backend web development has gotten absurd–PHP, Node (with or without TypeScript), Java, Python, golang, Ruby, C#, etc. Languages tend to evolve toward being object-oriented, strictly typed, and having block scope. Some started off that way, like Java, while others ended up there, like PHP and Node (with the creation of TypeScript). This is a terrible state of affairs compared to merely using JavaScript on the front-end, even though JavaScript was a pretty bad language to begin with (no block scope, overloaded + operator which does either addition or concatenation depending on the types of variables in a language that supposedly does implicit type conversation, inability to type multi-line strings in the code). Having everyone use the same language, even a sub-par one, would be a step up from having a dozen different popular languages, even if some are marginally better than others at particular things.

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