tbf that statement is only usefull if you have a choice, but is there really a choice for typescript/javascript? you can't have rich apps without it. and wasm isn't there yet.
C++: an octopus made by nailing extra legs onto a dog. — Steve Taylor
But more seriously, languages that are less formally made and have grown organically all deal with these types of things. PHP is a great example of a language with a TERRIBLE core library filled with numerous "don't use this" and "yes this doesn't make sense" and esoteric foot guns.
Of course, these languages are the ones that took off and people use everywhere. And languages like PHP have made great strides to the point that using PHP8 with a modern set of libraries is not so bad.
Yes, but Go is also popular and famously resists doing that as much as possible. Maybe language popularity isn't a good metric, since there could be other reasons a language becomes popular. Worse is better, and what not.
https://www.ecma-international.org/publications-and-standard...