There are other languages in use that are inferior to modern-day JS. JS is far from perfect but it’s also carrying cultural baggage. People that bash JS and proceed to sing the praises of Perl are just…well, at this case it’s clear that this is more of a culture war than anything else.
that's nonsense
Ruby, Python and JS are all at about the same level of difficulty, most of the semantic is the same. If anything, the messiness of the language and ecosystem is the higher barrier of entry (Python and JS).
JS is popular because it has the monopoly on web browser runtime. Python is more of a direct competitor to Ruby and its success is indeed due to low barrier of entry. Non-professionals, including data scientists, picked it up and the rest become history.
And not everything has to be logical, PHP for example is just a shit language, not easy, nor powerful in any metric, just happened to be there at the dotcom boom.
> Ruby, Python and JS are all at about the same level of difficulty
Hard disagree. Whenever I have to write JS I'm always amazed at how much boilerplate is required to do things that are extremely basic in Ruby or Python (and I don't like Python at all, but that's another matter.)
E.g. in JS I have to install a utility library like Lodash to get basic iteration functions that in Ruby and Python are part of the standard library.
If anything that's the opposite of the point GP was making (low barrier to entry)