497
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 53 points 1 week ago

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

[-] [email protected] 9 points 1 week ago

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

this post was submitted on 08 Jun 2025
497 points (97.7% liked)

Programmer Humor

36533 readers
214 users here now

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

Rules:

founded 5 years ago
MODERATORS