3 ms·
There's some interesting things in this talk. Like finding bugs by reading code backwards. I find 99% of my bugs when I ask a colleague to help me find it and
by scrrr 14y ago
There's some interesting things in this talk. Like finding bugs by reading code backwards.
I find 99% of my bugs when I ask a colleague to help me find it and start explaining to him what I am trying to accomplish with my code. It just makes me see the bug. And makes the colleague that interrupted his work wonder why I asked him to come over. :)
- blue1 14y ago"One university computer center kept a teddy bear near the help desk. Students with mysterious bugs were required to explain them to the bear before they could speak to a human counselor." — Kernighan/Pike, The practice of Programming
- arctangent 14y agoAlso known as Rubber Duck Debugging: http://en.wikipedia.org/wiki/Rubber_duck_debugging http://en.wikipedia.org/wiki/Rubber_duck_debugging
- youngtaff 14y agoIt was really interesting seeing how many people didn't spot the bug first time, and even reading backwards had issues finding it. (don't know if this is visible on the video) Watching my teenager child learn to code I could certainly see some of the issues Zed talked about.