Sleepzy@feddit.it to Programmer Humor@lemmy.ml · 24 hours agoElvisfeddit.itimagemessage-square21fedilinkarrow-up1130arrow-down16
arrow-up1124arrow-down1imageElvisfeddit.itSleepzy@feddit.it to Programmer Humor@lemmy.ml · 24 hours agomessage-square21fedilink
minus-squareQuazarOmega@lemy.lollinkfedilinkarrow-up7·12 hours agoOn the left you have Elvis Presley, while on the right there’s the so-called Elvis operator
minus-squareThe Cuuuuube@beehaw.orglinkfedilinkEnglisharrow-up5·8 hours agobeen programming since 2008. the fuck is an elvis operator?
minus-squareThe Cuuuuube@beehaw.orglinkfedilinkEnglisharrow-up1·46 minutes agogotacha. i’ve only ever heard them called ternaries. maybe i’m old. maybe i’m too young. definitely one of the two
On the left you have Elvis Presley, while on the right there’s the so-called Elvis operator
been programming since 2008. the fuck is an elvis operator?
Ternary if?then:else
gotacha. i’ve only ever heard them called ternaries. maybe i’m old. maybe i’m too young. definitely one of the two