WBS CODING SCHOOL
Published in

WBS CODING SCHOOL

Why you should have a rubber duck on your desk.

Photo by Timothy Dykes on Unsplash

Rubber Duck Debugging

  1. Beg, borrow, steal, buy, fabricate or otherwise obtain a rubber duck (bathtub variety).
  2. Place rubber duck on desk and inform it you are just going to go over some code with it, if that’s all right.
  3. Explain to the duck what your code is supposed to do, and then go into detail and explain your code line by line.
  4. At some point you will tell the duck what you are doing next and then realise that that is not in fact what you are actually doing. The duck will sit there serenely, happy in the knowledge that it has helped you on your way.
Photo by Andrew Wulf on Unsplash

The Feynman Technique

  1. Choose a concept you want to learn about
  2. Pretend you are teaching it to a student in grade 6
  3. Identify gaps in your explanation. Go back to the source material. Understand it better.
  4. Review and simplify (optional)

A rubber duck for everyone!

--

--

Stay one step ahead of a world that’s constantly evolving.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
WBS CODING SCHOOL

We do tech bootcamps for Web Development, Data Science and Digital Product Design with a human touch. This is where we publish our stories. Welcome!