wizardbeard@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 6 days agoTrick XOR Treatlemmy.dbzer0.comimagemessage-square41fedilinkarrow-up1789arrow-down14file-text
arrow-up1785arrow-down1imageTrick XOR Treatlemmy.dbzer0.comwizardbeard@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 6 days agomessage-square41fedilinkfile-text
minus-squareLifter@discuss.tchncs.delinkfedilinkarrow-up1·4 days agoNice, so my gut feeling about not needing the parenthesis above was right.
minus-squareCaptain Aggravated@sh.itjust.workslinkfedilinkEnglisharrow-up2·4 days agoI store-brand googled it, so I feel I’m not an authority to say one way or another!
minus-squaresilasmariner@programming.devlinkfedilinkarrow-up1·4 days agoIt’s a reasonable convention that matches the common DNF (disjunctive normal form) of propositional logic, can confirm it’s the right read. I’d still probably use parentheses for the ∧ (and/conjunction), though I’d never bother with it for ¬ (negation)
Nice, so my gut feeling about not needing the parenthesis above was right.
I store-brand googled it, so I feel I’m not an authority to say one way or another!
It’s a reasonable convention that matches the common DNF (disjunctive normal form) of propositional logic, can confirm it’s the right read.
I’d still probably use parentheses for the ∧ (and/conjunction), though I’d never bother with it for ¬ (negation)