DarkenLM
link
fedilink
11Y

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.

DarkenLM
link
fedilink
21Y

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.

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

awkward monkey puppet

Create a post

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.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog