sundray@lemmus.org to Comic Strips@lemmy.worldEnglish · edit-210 months agoI AM MISTER SANTAlemmus.orgimagemessage-square20fedilinkarrow-up1630arrow-down112file-text
arrow-up1618arrow-down1imageI AM MISTER SANTAlemmus.orgsundray@lemmus.org to Comic Strips@lemmy.worldEnglish · edit-210 months agomessage-square20fedilinkfile-text
minus-squareactiv8r@sh.itjust.workslinkfedilinkarrow-up6·10 months agoNo no no. You’re checking two booleans there. People who are naughty, nice, or both get a present. People who are neither naughty or nice get nothing.
minus-squarehakunawazo@lemmy.worldcakelinkfedilinkarrow-up2·10 months ago((nice)? ‘present’ : ‘coal’);
No no no. You’re checking two booleans there. People who are naughty, nice, or both get a present. People who are neither naughty or nice get nothing.
But what if naughty = !nice
((nice)? ‘present’ : ‘coal’);
Ash silently weeps.