this post was submitted on 17 Nov 2024
78 points (95.3% liked)

Programmer Humor

32483 readers
367 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 27 points 10 hours ago (2 children)

I never heard it called the Elvis operator! Thanks!

[–] [email protected] 15 points 10 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 17 points 9 hours ago (1 children)

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

Elvis lip

[–] [email protected] 8 points 7 hours ago

Mfw I'm checking for null

[–] cobysev 2 points 9 hours ago
[–] pogodem0n 1 points 8 hours ago
[–] [email protected] 5 points 9 hours ago

It was called Elvis back when it was a smiley

[–] deathmetal27 8 points 10 hours ago (2 children)
[–] [email protected] 1 points 6 hours ago

Nobody's assuming Groovy these days then 😂

[–] [email protected] 3 points 9 hours ago* (last edited 9 hours ago)

(run { [email protected]?.apply { this.value === true } } == true) ?: if (([email protected] as? Boolean) != true) false else true

[–] [email protected] 3 points 10 hours ago