But any Promethian technology: Printing, computers (software), internet, web, cryptography, blockchain... will inherently have thousands of bad uses before one really good use emerges, but these one-in-a-million breakthroughs are the only things which have ever really moved humanity forward.
IMO languages like JS and PHP are in fact less harmful than languages like Java and Python because - when one is reminded that what one's doing is a hack, one is less likely to limit one's thinking about what is possible.
We don't have languages which are truly expressive. Haskell, Rust reach for the stars but much we don't know still. Pays to remind one's self that All Languages Are PHP.
Web developers are under pressure to produce good quality user interface as fast/cheap as possible. When a framework gives them an advantage it gains a foothold. But the framework business is a primordial soup, evolving programming techniques faster than anywhere else in the industry.
There is a lot of validation, but not in the way you might think. If a framework isn't dirt easy to learn, it goes nowhere. If you can't make a website in a weekend, it goes nowhere. Maintainability is not an interesting property for websites, development cost has gotten so low that customers typically prefer demolish and rebuild.
What I'm saying is, I think it is undesirable to trade maintainability for human effort, especially to the extent in which modern web development demands it.
You've also mentioned quality: did we already have an argument whether the user interfaces made by JS devs are actually good quality, or is it just my deja vu?
@cjd It (JS) could have been Scheme *twice*, for starters.
First time it didn't become it because of business decision to make it similar to Java syntax-wise, to capitalize on Java's popularity.
Second time it didn't become Scheme because by the time when they were ready to replace JS, IE had JScript, and Netscape had to keep competing.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!