Someone recently posted a link to a blog which demonstrated using venn diagrams how table joins work in an RDBMS SQL system.

We need something similar for "logic". I've lost count of how many times I've come across this sort of error:

Business logic rules:...