3 ms·
JavasScript (and PHP for example) is an ecosystem with low barrier to entry and large popularity, combined with rudimentary and bad platform (historic reasons)
by rubber_duck 6y ago
JavasScript (and PHP for example) is an ecosystem with low barrier to entry and large popularity, combined with rudimentary and bad platform (historic reasons) - it's a recipe for piles of shite.
The amount of signal to noise is low because of low barrier/high user base community spamming NPM packages/and spamming ratings/stars/dependencies - it's hard to determine what's "safe" to use, and because the environment is so barebones you need to depend on a lot of third party code or reimplement everything yourself.
C++/C have a similar legacy burden and barebones platform (although C++ std lib now-days is much better, historically it was unusable which lead to a lot of code duplication) but because the barrier to entry is much higher I'd say an average C++ dev is much more competent than average JS/PHP dev and the libraries commonly used in C++ world are obviously higher quality than JS/PHP (tooling fragmentation is a different story because of the unique problems C/C++ face, but still C++ build tools are probably the most sophisticated out there - out of necessity).
Rust falls in to the category of languages designed by competent people without legacy burden and tackles a complex domain (again higher barrier to entry), most languages I've seen in this category have decent tooling and design (eg. C#, F#, Go, Dart)
- bushin 6y agogr8 b8 m8. JS devs are the smartest in the world. C++ devs are like little babies.