+ 5

Why so many languages while all of it consists same ?

I learned C , PYTHON completely and JS , PHP , basics. I observed all programming languages have same i.e. operators , loops , conditional,etc so why these many languages ? We can solve a problem in all languages with almost same logic then what is the use of other languages , okay I understood that python has huge libraries so why can't every one only use python ? Can you please anyone clear my doubt.

2nd May 2020, 6:29 AM
Yalla Mahanth
Yalla Mahanth - avatar
9 odpowiedzi
+ 17
This is really a very interesting question and of course deserves an answer. This often sounds confusing that why the heck do we need a bunch of languages? Couldn’t we just satisfy us with just one? Well, here goes the answer. Could you say me why did we need a laptop while we had all types of pc's which could solve all our problems? We can do the same thing with laptop that we can do with pc, then what’s the need of a laptop? This should clear your doubt I guess. Laptop was invented so that we could feel more comfortable while doing our work, bring it anywhere and do our stuffs easily. Isn’t it? Likewise, those programming languages were invented to make you feel easy, understand well and do things as fast as possible.
2nd May 2020, 6:38 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 6
Thanks for you reply Arb Rahim Badsa sir It cleared my doubt Once agian Thank you so much
2nd May 2020, 6:46 AM
Yalla Mahanth
Yalla Mahanth - avatar
+ 3
Different languages usually handle different aspects of computers. An example of this is JavaScript for the Web and Python for Data Science.
2nd May 2020, 10:15 PM
Ben Vaiciulis
Ben Vaiciulis - avatar
+ 3
High-level languages (like Python) and lower-level languages (C/C++) need to exist. For example, an operating system cannot be written in an interpreted language like Python. You need a compiled language like C/C++ for that. Interpret or high languages are also slow compared to lower / compiled languages. Due to difficulty in learning lower-level languages, they are not as popular as high-level languages. There are other reasons like Apple created their own language (swift) to create iOs apps so they can have more control over it.
2nd May 2020, 10:35 PM
Hassan
Hassan - avatar
+ 2
There could be one language standard for everything in programming. But people are always looking for a better way to do any work. That's how many languages came out.
2nd May 2020, 10:01 PM
Ishmam
Ishmam - avatar
+ 1
The answer to why there are so many languages while all of it consists same is because they do different things to some degree.
3rd May 2020, 10:33 AM
Chiranjit Ghosh
Chiranjit Ghosh - avatar
+ 1
Although there are so many ,but each one is unique.Like C/C++ are faster Python/Ruby are reliable & easy Java has a large library Html is completely different from these languages and so on.
3rd May 2020, 12:59 PM
ariba Khan
ariba Khan - avatar
+ 1
situation in the beginning: there are three languages, each developed individually, with their strengths and weaknesses. Someone with initiative: hm, that's too many, let's make ONE language that satisfies everybody. Situation after: there are four languages :|
16th Jul 2020, 12:14 PM
Selin Genkur