Eli5 why are there so many computer languages?

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

Programs do a lot of different things, it is one of the reasons I am not afraid of software developers being laid off en masse because of ChatGPT, software development is about more than just coding. Depending on what you are doing, one programming language and paradigm might be better than the other. You might write scalable API calls with GO. You might write a website in Javascript that calls python programs to do things the user wants.

Imagine a computer program is actually a motor pool. Your computer program / motor pool is tasked with several responsibilities. You need to transport VIPs, you need to be able to recover vehicles that have slid off the road in bad weather, you need to transport 20 or more people in one vehicle, and you need to transport loads of dirt from site A to site B.

Each car that you acquire is built with a different language. You might have a limousine, a bus, a wrecker, and a dump truck. While they are all fall under the general class of ‘vehicle’, you wouldn’t build a dump tuck with parts that work best on limousines. Computer programming is similar to that, you might build an application that can do some task, but once you hit it with 100,000 concurrent connections it won’t work correctly. Like, your limo can transport 6-8 people but if you cram 20 people into it you will quickly discover problems.

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