Hero photograph
 

Computer Programming: with a little bit of help

Amelia Painter —

Rubber duck debugging - it's a real thing!

Senior Computer Science classes have been learning how to program in Python - a language used by software engineers in industry. 

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 can 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.