4 ms·
Precisely. One of my favorite bugs I ever introduced was typing 0 instead of O in a variable name. Review your mental model all you want, a debugger is going t
by r_smart 8y ago
Precisely.
One of my favorite bugs I ever introduced was typing 0 instead of O in a variable name. Review your mental model all you want, a debugger is going to be a lot more useful in sussing that kind of thing out. Even just being able to see you have two variables on the stack RockOn and Rock0n will pretty much save you.
- posterboy 8y agoA font with a discernible difference would help, too.
- r_smart 8y agoAgreed! I was young at the time. Also, my poor coworker was the one that had to find and fix it since I was in class that day. Who knows what font he was using.
- smhenderson 8y agoHah, yes, I've done the same thing. It always bugged me how close together the two keys are on a US English qwerty keyboard.