Sleepzy@feddit.it to Programmer Humor@lemmy.ml · 24 hours agoElvisfeddit.itimagemessage-square21fedilinkarrow-up1129arrow-down16
arrow-up1123arrow-down1imageElvisfeddit.itSleepzy@feddit.it to Programmer Humor@lemmy.ml · 24 hours agomessage-square21fedilink
minus-squareThe Cuuuuube@beehaw.orglinkfedilinkEnglisharrow-up5·8 hours agobeen programming since 2008. the fuck is an elvis operator?
minus-squareThe Cuuuuube@beehaw.orglinkfedilinkEnglisharrow-up1·40 minutes agogotacha. i’ve only ever heard them called ternaries. maybe i’m old. maybe i’m too young. definitely one of the two
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