Using Truth Tables to Avoid Nested Conditionals
smyck.net