How would you debug a piece of code without access to a debugger or an IDE?
Anonymous
I answered that I would use print statements in between to check variable states. In hindsight, I feel that the right answer would have been unit tests.
Check out your Company Bowl for anonymous work chats.