Hero photograph
 

Rubber Duck Debugging

Amelia Painter —

Year 11 Computer Science students have been learning about Python programming this term – an industry level computer language.

It is often difficult to find your own errors when you have a line of code incorrect, so students have been introduced to the concept of rubber duck debugging. It's helpful to explain your code to another person so you can find what isn't working and then debug it. Instead of using another person (who is likely busy), you can use an inanimate object, such as a rubber duck. Typically as you are reading code to your duck you realise what the problem is and can correct it. 

Check it out online, it’s a real thing! It’s the nature of explaining code to something/someone that helps you take the time to double-check it.