this post was submitted on 29 Dec 2023
57 points (85.2% liked)

Programmer Humor

32483 readers
302 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/10094818

spoilerGender variability as declarations in JavaScript: const / let / var

Meme is based on Jordan Peterson "approival / disapproval" format, him being a conservative who disapproves of gender fluidity.

Transcript:

  • Jordan Peterson approval image: const gender;
  • Jordan Peterson angry image: let gender;
  • Jordan Peterson crying image: var gender;

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 10 months ago (6 children)

Joke's on you because they're all still mutable objects behind the reference.

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

typescript: const as const (readonly) 'pretty please dont mutate it'

[–] [email protected] 1 points 10 months ago
load more comments (4 replies)