I don't understand this. Small brained users rise up
On the left you have Elvis Presley, while on the right there's the so-called Elvis operator
I never heard it called the Elvis operator! Thanks!
It's because if you turn it 90° to the right, it looks like Elvis' hair with two eyes underneath!
I saw it the other way, with the question mark as the curl of his lip.
Mfw I'm checking for null
?:)
Holy shit
It was called Elvis back when it was a smiley
Kotlin user spotted
php too
..but we don't talk about php
Nobody's assuming Groovy these days then 😂
(run { this@comment.parent?.apply { this.value === true } } == true) ?: if ((this@comment.value as? Boolean) != true) false else true
Same
this post was submitted on 17 Nov 2024
87 points (96.8% liked)
Programmer Humor
32481 readers
431 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS