Definitely a repost, but it fits the season
Gonna save this A very good visual representation
Honestly, this meme just legit helped me understand some of the tools in my CAD software.
I’m looking for a truth table, like a child lost in a supermarket.
my logic is too weak to be able to make sense why those are they way they are, I just brute force each of them until I found which one I need when working with that in Blender shader nodes.
There’s another one possible: Trick NOT Treat.
There’s another 10 possible, but if retaining symmetry and excluding the trivial T/F cases, these 6 are the ones to show I guess.
NOT Trick AND Treat
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 an interesting question, and I’m gonna go learn the answer.
duckduckgo powers activate!
So yes, they do. It generally goes NOT, AND, OR. And if you’re doing algebra in binary and you’ve got boolean operators in there (you can AND two numbers the same way you can ADD two numbers in binary) PEMDAS becomes PEMDASNAO.
That’s language specific. In math it’s mostly just a parenthesis
Or it’s closer to Trick XOR Treat or, if we are realistic, Trick NAND Treat
XNOR is so ambiguously named.
Every time, I’m like: The inverse of XOR? Or the inverse of NOR? Oh, right, NOR is already the inverse of OR, so X-NOR is just OR, so XNOR must be the inverse of XOR.
It’s NOR, but the blank spots (because "N"OR) are exclusive - the blank spots can’t overlap.
…goddamn programmers…
I think I might have grown up “Trick XOR Treating” rather than “Trick OR Treating.” If I remember right, it returned “False” for “True” values of both “Trick” and “Treat” but not either and not none.





