I never heard it called the Elvis operator! Thanks!
45 0 ReplyIt's because if you turn it 90° to the right, it looks like Elvis' hair with two eyes underneath!
27 0 ReplyI saw it the other way, with the question mark as the curl of his lip.
22 0 Reply?:)
4 1 ReplyHoly shit
1 0 Reply
It was called Elvis back when it was a smiley
5 0 Reply
Kotlin user spotted
13 0 Reply(run { [email protected]?.apply { this.value === true } } == true) ?: if (([email protected] as? Boolean) != true) false else true
3 0 Replyphp too
..but we don't talk about php
3 0 Replyphp doesn't exist, php can't hurt you
2 0 Reply
Nobody's assuming Groovy these days then 😂
2 0 ReplyI've been working in Jenkins pipeline for a while now.
Why the fuck is Groovy?
2 0 Reply
I don't understand this. Small brained users rise up
12 0 ReplyOn the left you have Elvis Presley, while on the right there's the so-called Elvis operator
12 0 Replywhy would you call it anything other than the ternary operator
3 0 Reply
Same
3 0 Reply