Rubber Duck Debugging

Sdílet
Vložit
  • čas přidán 4. 12. 2022
  • Rubber ducks can be data scientists too!
    There are some data professionals that talk to rubber ducks to help them solve problems
    The technical term is called Rubber Duck Debugging which is a technique that is used by many programmers when they are stuck. Either by finding bugs in their code or by coming up with the right way to structure your code to make things work.
    The technique is simple but the execution can feel a bit silly
    Basically, you just gotta talk out loud and explain to the duck what your code is supposed to do. Make sure to look the duck in the eyes while doing this.
    Then, it is critical to go into detail, line by line. At this point, you both should be looking at the screen. It is even more helpful if you guide the duck around the screen, this gives both of you a closer and more in depth look at the code
    At some point while either talking about or reviewing the code, I promise that you will face your ah ha moment
    You can then thank your duck and go about your day
    mine is named Webbigail (after the DuckTails character)
    If you feel this is absolutely too silly to execute, you can always use a coworker or pet 😊
    Have you ever used Rubber Duck Debugging?

Komentáře •