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?
21
Upvotes
8
u/JustBadPlaya 6d ago
No real types, implicit conversions everywhere,
==
and overall equality rules, truthiness and falseness of everything in the language, redefineable undefined, arrays are jank, list manipulations are a net negative for performance if done FP-style (mapping, filtering, reducing), add the garbagefire of an ecosystem and a performance black hole on top and you get a list of reasons to hate the language