3 ms·
When I was learning to code C, I would often spend all night trying to chase down a bug, then finally go to bed in frustration at 5 am. After a few hours of sle
by davidroberts 14y ago
When I was learning to code C, I would often spend all night trying to chase down a bug, then finally go to bed in frustration at 5 am. After a few hours of sleep, I'd look at the code again, and immediately see the problem. I would feel so stupid for missing it before. Surrender works. Or maybe debugging all night doesn't work...
- ams6110 14y agoI wouldn't call this (or what was described in the blog post) as "surrender". It's more like a strategic retreat.
- greenyoda 14y agoA good night's sleep can get you a few dozen extra IQ points. Amazing how many bugs get solved by ideas that magically pop into your head while you're showering the next morning.
- nessus42 14y agoI sometimes solve problems while asleep. I.e., I wake up just knowing the answer.