4 ms·
Whenever I'm trying to understand a complex if statement that someone else (or past me) wrote, transforming the conditional to contain only 'or' or 'and' but no
by kd5bjo 8y ago
Whenever I'm trying to understand a complex if statement that someone else (or past me) wrote, transforming the conditional to contain only 'or' or 'and' but not both often makes the logic clearer. I also find myself transforming new conditions for understandability before committing.
For really tricky cases, I'll use a Karnaugh map, but those don't come up very often.
- sgillen 8y agoUnderstood, (Sorry commented before your edit). Interesting that you've actually seen complex enough cases to actually need a Karnaugh map, definitely one of the things I learned in class and proceeded to never use again.