The two most common bugs in my code are:
- Inverting a boolean condition.
- Forgetting to increment a loop counter/move a pointer in a while loop.
You'd think I'd have learned that these are my most common issues by now and to check them more thoroughly.
I just managed to lock up a device when installing a program because of a #2 in the install process...