Eli5 why are there so many computer languages?

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

At first there was Assembly. Assembly was hard to use so developers made C out of Assembly. C became the standard. Then C was hard to use, so developers made other languages like C++, Objective-C, Smalltalk, Perl, Java, Ruby and Python. And web browsers were created and needed to be able to run code inside of them, so the Javascript VM was created. The Javascript VM runs Javascript inside of it. But Javascript was too confusing in large codebases and unsafe, so Typescript was created. And Objective-C and C++ were too hard to use so Apple made Swift. And Java was too annoying to use for concurrent / parallel code so JetBrains made Kotlin. And for applications that need high speed that would typically use C or C++, Google wrote a new language that runs inside of C called Go that’s just as fast as C but is less annoying to use. Other languages trying to solve these same problems of C include Rust and Zig, made by other developers than Google. But those languages don’t have garbage collection like Go does. And on and on and on.

The point is that earlier programming languages were extremely inconvenient, verbose or had other glaring flaws. Newer ones make developer’s lives easier and try to fix problems with the older languages.

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