this post was submitted on 08 Jun 2025
393 points (97.3% liked)

Programmer Humor

36257 readers
1023 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
[โ€“] schnurrito@discuss.tchncs.de 50 points 12 hours ago (1 children)

TBF the last two bullet points are verbose descriptions of the thing it means in C++, Java, and Python too. It's just that in JS, "this" can also be used in other places.

But yeah, in practice, every time I write JS I want to throw my hands in the air and shout "this is bullshit", but never know what "this" refers to... :D

[โ€“] bestelbus22@lemmy.world 10 points 11 hours ago

Yeah that's fair, though it also discusses that whole prototype thing that JS has going on