Sales funnel content here linking back to main marketing website Code Institute
The Library
    • All Posts

    • Bootstrap
    • Careers
    • Django
    • Git & GitHub
    • Heroku
    • IDE
    • JavaScript
    • MongoDB
    • README.md
    • Resources
    • Troubleshooting
    • Account

    • Log in
    • Create account

Rubber Duck Debugging

Written by: Lynx_alumni
|
Published: Aug. 17, 2021
Troubleshooting

I don't know about you, but I have often worked out the solution to a problem with a project while trying to explain it to someone else. Just the process of laying out the problem clearly to someone who doesn't know my code often unlocks things I hadn't considered before.

This is something many developers experience, and someone coined the term "Rubber Ducking" as a method of debugging their code by explaining it to a rubber duck that was sitting on their desk.

Though you may feel like you have gone quackers, it is really a worthwhile thing to try when your code isn't making sense and you don't know why.

If you find talking to an inanimate object too difficult, then I also find it helpful to write an email to a coding buddy, or writing a detailed question on Slack laying out my problem often results in an answer coming to me... or at least a good question to Google. 

Image to accompany post
Click on a thumbnail to enlarge
Modal title
More posts about Troubleshooting

About the Author

Lynx_alumni

Jim Morel

Alumni of Code Institute Diploma in FSD

Visit Profile

Related posts

  • Debugging Layout Issues
  • How to Google effectively
  • How to ask for help in a way that will get you useful answers.
  • How to use DevTools to debug your code.

Tags

advice debugging problemSolving tips troubleshooting
Code Institute Courses
Info about the difference between the 2 courses here.
  • All Posts |
  • Categories |
  • Search

Policies

  • Terms and Conditions
  • Privacy Policy
  • Plagiarism Policy
  • FAQs

About

Lorem ipsum dolor sit amet consectetur adipisicing elit. Soluta, omnis fuga cupiditate sit perferendis culpa at vitae officiis molestias, dolores nihil repellendus odio? Praesentium voluptas iusto numquam incidunt error unde?