wizardbeard@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 1 day agoTrick XOR Treatlemmy.dbzer0.comimagemessage-square34fedilinkarrow-up1673arrow-down12file-text
arrow-up1671arrow-down1imageTrick XOR Treatlemmy.dbzer0.comwizardbeard@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 1 day agomessage-square34fedilinkfile-text
minus-squareCaptain Aggravated@sh.itjust.workslinkfedilinkEnglisharrow-up1·13 hours agohow would that be different than Trick NAND treat?
minus-squarefilthy_lint_ball@lemmy.worldlinkfedilinkEnglisharrow-up1·13 hours ago“(!Trick) && Treat” is probably the binding they meant
minus-squareCaptain Aggravated@sh.itjust.workslinkfedilinkEnglisharrow-up1·13 hours agoOr to simplify, Treat NOT Trick?
minus-squareLifter@discuss.tchncs.delinkfedilinkarrow-up1·58 minutes agoYes, but I saw changing the order of them as non-compliant with the meme. I could have added a parenthesis but that also felt too technical.
minus-squareLifter@discuss.tchncs.delinkfedilinkarrow-up1·edit-257 minutes agoIs there a standard order of operations for boolean logic, such as PEMDAS is for arithmetic?
minus-squareNatanael@infosec.publinkfedilinkarrow-up2·36 minutes agoThat’s language specific. In math it’s mostly just a parenthesis
how would that be different than Trick NAND treat?
“(!Trick) && Treat” is probably the binding they meant
Or to simplify, Treat NOT Trick?
Yes, but I saw changing the order of them as non-compliant with the meme. I could have added a parenthesis but that also felt too technical.
Is there a standard order of operations for boolean logic, such as PEMDAS is for arithmetic?
That’s language specific. In math it’s mostly just a parenthesis