Hacker News new | ask | show | jobs
by benkuykendall 3563 days ago
Could you perhaps be a little more specific? Sure, we use OR, AND, and even XOR to deal with conditionals that map to T and F, but this seems like kind of a surface level use of booleans. When do we invoke the algebraic properties of the structure when coding?
1 comments

De Morgan's laws! I am sure people use it routinely to simplify complicated boolean expressions while writing code or mentally simplify complicated boolean expressions while reading code.
And then you can probably reduce it with a Karnaugh map. It's pretty neat.