Three guards that looked right until I ran them against the real tool
· 4 min read
A guard is only as good as what it actually compares. Mine kept comparing the wrong thing, and each time the review that caught it ran the real tool instead of reading the code.