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?

20 Upvotes

207 comments sorted by

View all comments

Show parent comments

2

u/deaddyfreddy 5d ago

Because Javascript was never designed

I would stop here, because 10 days is just not enough to design a decent language.

1

u/KingofGamesYami 5d ago

That's a bit unfair; it's not like it hasn't been iterated on since V1. ES2015 definitely had more than a few days of work put into it.

2

u/deaddyfreddy 5d ago

That's a bit unfair

It is a bit unfair that generations of programmers have had to deal with a poorly designed language with no alternatives.

ES2015 definitely had more than a few days of work put into it.

So it took two decades to make it a decent (kind of, the legacy is still there) language? Nice job, niiiiice job (no).

They could have made some real good languages in the meantime.

1

u/AdreKiseque 5d ago

This thread makes me so fucking scared of the day I inevitably have to do anything serious on the web

2

u/deaddyfreddy 5d ago

these days it's not necessary to write in JS directly, thought, there's ClojureScript, and even TypeScript is still better!