People are asking too much from JavaScript, it’s good for UI/UX work with HTML and CSS, what it was designed for, for everything else there are better languages out there

Reply to this note

Please Login to reply.

Discussion

JS is ever evolving. You say that it is great at working with CSS, because it was designed for this. Yet when JS was released, CSS was not a thing.

I agree that the “JS for everything” mentality is part of the problem. However at the core the issue is the fragmentation of ecosystems and the vast amount of “standards”

There are ways to improve JS for sure, especially consolidating the modules standard.

Vite is doing a good job, it used to be much worse. But by the nature of it, it will never be as streamlined as go for example. Too many people have different opinions on what JS should be used for and how nowadays

Yes I agree. Vite is amazing, but they focus on the browser and their whole build system is built around ESM. That part of the ecosystem is already great, but it gets hairy where CJS and ESM come together.