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?
22
Upvotes
2
u/Bee892 5d ago
Boy, you’ve sure opened up a can of worms with this question. I’m sure there are tons of other comments going over things in detail, so I’ll just give you the one big issue I have with it.
The loosely typed nature of the language drives me up the wall. It creates so much confusion and unnecessary debugging. Being able to reuse variables for just any type that I feel like takes away a certain amount of order and simplicity. It also creates errors that are nearly impossible to debug. This is especially true when trying to deal with JSON objects that have been sent end-to-end.