4 ms·
JS may be fine, but I start do doubt the same can be said about the ecosystem.
by rimliu 5y ago
JS may be fine, but I start do doubt the same can be said about the ecosystem.
- kansface 5y agoI really enjoy writing JS/TS - I find that eg arrow functions mixed with React allow for really concise and expressive solutions. You are correct about the ecosystem... maybe not per se, but that supply chain attacks are hopelessly intractable at the moment. How could you possibly go about writing a modern SPA that notionally cares about security when the third party software you must rely on is impossible to verify? I would love if browsers let you run JS in a sand boxed mode wherein you could just pass a bundle of vendored upstream software without the ability to touch the window, network, global state, etc.
- skinkestek 5y ago> JS may be fine, If you compare JS (not TS, TS is fine) and PHP (I have extensive experience in both) you'll find that once you go beyond the syntax on the top you'll find the same flaws in some form or another. Yes, PHP is uglier, but that is about it. > but I start do doubt the same can be said about the ecosystem. JS is a horrible language that works because of the tireless effort of its community that has created an ecosystem so rich that even JS can be programmed efficiently. The ecosystem might be flawed but it is the only reason why JS is usable at all.