Hacker News new | comments | show | ask | jobs | submit login

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. :)

"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


Also known as Rubber Duck Debugging:



It 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.


Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact