3 ms·
DeMorgan's laws. (You'll probably end up negating a boolean expression at some point. Don't screw it up!)
by serve_yay 11y ago
DeMorgan's laws. (You'll probably end up negating a boolean expression at some point. Don't screw it up!)
- 1_player 11y agoAll the comments in this thread are really useful (thanks, everybody), but you finally gave me a name for something I badly need when refactoring overcomplicated "if" expressions. I usually get a pen and paper and write the truth table by hand to understand how to simplify the logic. Thanks!