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.
Latest Answers