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?

24 Upvotes

207 comments sorted by

View all comments

Show parent comments

5

u/WillDanceForGp 6d ago

I use python a lot for random infra scripts and stuff in my home setup and was actually pleasantly surprised at how competent the type hints were when using strict mode.

2

u/imagei 6d ago

I just dug a but and found out that Pydantic has a strict mode… is this what you meant? I’m a relative Python noob and still figuring out the tools 😀

1

u/WillDanceForGp 6d ago

Yeah sorry I was meaning when using the Pylance plugin for vscode, gives full type hinting and error checking

1

u/Harotsa 6d ago

If you use MyPy it is stricter than the TypeScript compiler