this post was submitted on 17 Nov 2024
69 points (97.3% liked)

Programmer Humor

32483 readers
316 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] Blue_Morpho@lemmy.world 24 points 5 hours ago (2 children)

I never heard it called the Elvis operator! Thanks!

[–] lord_ryvan@ttrpg.network 13 points 5 hours ago (3 children)

It's because if you turn it 90° to the right, it looks like Elvis' hair with two eyes underneath!

[–] disguy_ovahea@lemmy.world 13 points 4 hours ago (1 children)

I saw it the other way, with the question mark as the curl of his lip.

Elvis lip

[–] dwemthy@lemdro.id 5 points 2 hours ago

Mfw I'm checking for null

[–] pogodem0n@lemmy.world 1 points 3 hours ago
[–] MyNameIsRichard@lemmy.ml 4 points 4 hours ago

It was called Elvis back when it was a smiley

[–] deathmetal27@lemmy.world 7 points 5 hours ago (2 children)
[–] silasmariner@programming.dev 1 points 1 hour ago

Nobody's assuming Groovy these days then 😂

[–] DeprecatedCompatV2@programming.dev 3 points 4 hours ago* (last edited 4 hours ago)

(run { this@comment.parent?.apply { this.value === true } } == true) ?: if ((this@comment.value as? Boolean) != true) false else true

[–] NicKoehler@feddit.it 3 points 5 hours ago