Pages

Search Me

Monday, 7 May 2012

The other rubber duck

The rubber ducky proof: get out your rubber duck and explain to him, line by line, what your code is suppose to do. Realize at some point that what you're saying is not what the code is doing. Thank the rubber duck and fix the code.

The other rubber ducky proof: get out your rubber duck and explain to him what you have to say. Is the rubber ducky asleep? If yes, wake the rubber duck, and try again with a shorter explanation. Repeat until the rubber duck can remain awake for the duration. 

1 comments:

Unknown said...

Great idea ... worked the second time around ...first time he fell asleep