this post was submitted on 18 Jul 2023
732 points (93.2% liked)

Programmer Humor

32000 readers
1744 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 1 year ago (2 children)
[–] [email protected] 21 points 1 year ago (2 children)

Terrible type system, terrible standard library, terrible compatibility and lack of many features, compared to C# for example.

[–] [email protected] 16 points 1 year ago (2 children)

All of those things are by design and comparing JS to a fully fledged OOP language is just the sign of a clueless developer.

The JS standard is well defined and compatibility has nothing to do with the language itself

[–] [email protected] 28 points 1 year ago (1 children)

Terrible type system, terrible standard library, terrible compatibility and lack of many features

All of those things are by design

That makes it even worse.

[–] [email protected] 2 points 1 year ago (1 children)

Lots of languages are typeless and the standard library is weak because web (NodeJS is good but npm is shit)

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I hate Node and NPM so much that I have a physical reaction to just seeing the words now.

I already disliked Node & NPM quite a bit, but the hatred and disgust got to the point it is now after having to write a CI/CD pipeline in Groovy/Jenkins for a Node site that that our devs were building. I had to automate the build/deployment of Satan's favorite framework in Satan's favorite language. I came pretty close to quitting.

It's out the door now, but I'm in the middle of reimplementing the pipeline in Github Actions so I don't drink myself to death when they come knocking to do it again.

[–] [email protected] 12 points 1 year ago

All of those things are by design

And this makes sane programmers sad.

[–] [email protected] 20 points 1 year ago (2 children)

Yeah what's the hate against JS? Did it steal your wife?

[–] [email protected] 24 points 1 year ago* (last edited 1 year ago) (1 children)

JavaScript burned our crops, poisoned our water supply, and delivered a plague unto our houses

[–] [email protected] 7 points 1 year ago (1 children)
[–] [email protected] 22 points 1 year ago (1 children)

No, but are we going to wait around until it does?

[–] [email protected] 3 points 1 year ago

Let's get the pitch forks and lynch that mf!

[–] [email protected] 6 points 1 year ago (1 children)

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.

[–] [email protected] 4 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 11 months ago (1 children)

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.

[–] [email protected] 2 points 11 months ago (1 children)

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.

[–] [email protected] 1 points 11 months ago

Though anyone that comes from a C background shouldn't fall on those traps either way.

awkward monkey puppet