Why I use a rubber duck to debug my code

I have a little rubber duck with a christmas hat and antlers on my desk at all times. Whenever I code, and I come across an issue, I explain my code to the duck line by line. His name is Jerry by the way. Jerry is the best listener, in fact his listen-only method of debug assistance helps me listen to myself explain my bad code.

For example, in Lua, when trying to figure out why I kept getting an “Expected EOF” error, I read my code, line by line, in human explanation, to Jerry; which ended up helping me realize I missed a single end in an else statement.

If you code, get a rubber duck, name that duck whatever you want, and if you need to debug, rely on the duck and not a program.

Dusk Common handles: XDuskAshesReal, XDuskAshes (And various capitalizations) Working on a secret project :> Github | YouTube | Tumblr