Hacker News new | ask | show | jobs
by Scarblac 1315 days ago
A way to deal with really perplexing bugs is to just carefully explain the code to an actual rubber duck.

"This code is obviously correct, right duck? Look here, this line first does x, then y happens and here... Wait a minute, that doesn't do z at all!"