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

Programmer Humor

41225 readers
31 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] DarkenLM@kbin.social 4 points 2 years 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.

[–] MajorHavoc@lemmy.world 1 points 2 years 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.

[–] DarkenLM@kbin.social 2 points 2 years 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.

[–] MajorHavoc@lemmy.world 1 points 2 years ago

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

awkward monkey puppet