It’s missing a lot of things that people really care about (with good reason) like static typing. But I think a lot of dislike also comes from it being more of a functional programming language and not object oriented. I like it because it’s like scheme or lisp but with a C like syntax that I find easier to read. I also like that I can do dynamic stuff with websites. In some ways it’s the perfect scripting language for the web. Just as messy and unpredictable as html.
There are “classes” (syntatic sugar over prototyping) that allow OOP in JS, so I don’t think why people would dislike it for the lack of OOP, unless they’re using ES5.
Oh, yeah. When people discover shallow clone vs deep clone is when shit hits the fan. Though anyone that comes from a C background shouldn’t fall on those traps either way.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
Yeah what’s the hate against JS? Did it steal your wife?
It’s missing a lot of things that people really care about (with good reason) like static typing. But I think a lot of dislike also comes from it being more of a functional programming language and not object oriented. I like it because it’s like scheme or lisp but with a C like syntax that I find easier to read. I also like that I can do dynamic stuff with websites. In some ways it’s the perfect scripting language for the web. Just as messy and unpredictable as html.
There are “classes” (syntatic sugar over prototyping) that allow OOP in JS, so I don’t think why people would dislike it for the lack of OOP, unless they’re using ES5.
Some would say that until you’ve played “guess whether my clone still points back to the original object” in JavaScript, you’ve never really lived.
That said, I understand I’m supposed to start using TupeScript for that, so I’ll shut up about it.
Oh, yeah. When people discover shallow clone vs deep clone is when shit hits the fan. Though anyone that comes from a C background shouldn’t fall on those traps either way.
JavaScript burned our crops, poisoned our supply, and delivered a plague unto our houses
It did?
No, but are we going to wait around until it does?
Let’s get the pitch forks and lynch that mf!