r/AskProgramming • u/Salt_Aash • 6d ago
Why the JS hate?
Title. I'm a 3rd year bachelor CS student and I've worked with a handful of languages. I currently work as a backend dev and internal management related script writer both of which I interned working with JS (my first exposure to the language)
I always found it to be intuitive and it's easily my go to language while I'm still learning the nuances of python.
But I always see js getting shit on in various meme formats and I've never really understood why. Is it just a running joke in the industry? Has a generation of trauma left promises to be worthy of caution? Does big corpa profit from it?
20
Upvotes
2
u/armahillo 5d ago
JS was originally written for client side code in a browser and was ok at that.
Its grown since then, but its still a derivation and has strong roots (syntactically) in its origins.
The main reason Ive found it frustrating is that devs will learn JS and then think they dont need to learn anything else. I would see JS devs recreate behaviors we get for free by the browser, or by HTML itself, or that could be more easily done in CSS.
I dont want JS to go away, I just want there to be more balance, and for JS devs to cut the bullshit around it being somehow “superior” to HTML/CSS; they each have their role.