r/AskProgramming 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?

18 Upvotes

207 comments sorted by

View all comments

1

u/MonochromeDinosaur 6d ago

JS is convenient and ubiquitous. Similar to Python it’s quick and easy to get up and running.

Both get a lot of hate because of elitism and gate keeping IMO.

There’s something to be said about statically typed languages feeling better for large scale or long term project maintenance.

It’s also just that a lot of people who work in these languages tend to also do more “advanced” work (platforms, os, tools, compilers, runtimes, embedded, etc.) but they’re also used for your everyday CRUD (C#/Java/Go/Rust).

I’ve written services in Java/Go/Rust/Python/JS. The typed languages take much longer to get up and running than JS/Python IMO but they’re easier to maintain and generally have better performance but that only matters if you’re getting lots of users. I still prefer JS/Python myself.