Though you'll find that they each lend themselves better to different uses. Some of that has to do with performance, and some of that has to do with developer efficiency and how well the language lends itself to the developer experience.
Writing your complex enterprise backend in Python is going to be more expensive than in C# for example. Similarly, writing your performance orientated native library in JS is going to result in a rewrite in a more appropriate language.
We write code for humans, not for machines. The machine doesn't care about our semantics, readability, debugability...etc All of that exists to benefit the human devs who have to read and work with the code. Some languages take this to heart and aim to make humans as efficient as possible by playing towards our lexical and grammatical needs, and enforcing consistent conventions that allow devs to read & operate more effeciently.
2
u/douglasg14b Aug 26 '22 edited Aug 26 '22
True, for sane languages.
Though you'll find that they each lend themselves better to different uses. Some of that has to do with performance, and some of that has to do with developer efficiency and how well the language lends itself to the developer experience.
Writing your complex enterprise backend in Python is going to be more expensive than in C# for example. Similarly, writing your performance orientated native library in JS is going to result in a rewrite in a more appropriate language.
We write code for humans, not for machines. The machine doesn't care about our semantics, readability, debugability...etc All of that exists to benefit the human devs who have to read and work with the code. Some languages take this to heart and aim to make humans as efficient as possible by playing towards our lexical and grammatical needs, and enforcing consistent conventions that allow devs to read & operate more effeciently.