Eli5 why are there so many computer languages?

1.31K 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

Why does Baskin-Robbins carry 31 flavors of ice cream? People have preferences, and at the last time I checked, programmers are people. Some programmers specialize in specific languages, some specialize in specific subjects, like databases or caching or web front end, and know how to make those things work in a variety of languages. There’s also a great deal of overlap in most languages fundamental features. All languages feature variables and flow control, most support the concept of objects and functions, so translating a particular program from one language to another might not even be particularly complex, just a bit time consuming and fiddly.

If there was only one programming language ever written, then we would all be writing in assembler. Programs would likely be much more efficient, but have far fewer features, and cross-platform compatibility would be nearly impossible.

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