Today I tried to run some code. It timed out with no response. A little bit later, I figured out I had inverted a boolean condition. Which caused an infinite loop.
After all these years, I still make that same mistake with booleans -- forgetting to put a not
(or !
) in front of a condition.
Do you have a thing that always trips you up?
/∞