When translating from pseudo-code to actual code, don't forget to add in the "break;" statements at the end of switch/case code blocks that you left out of the pseudo-code because their presence was "obvious." Doing this can cause unexpected behavior in your code.
1 comment:
Hee hee :P
Post a Comment