Don’t let debugging suck your life away
The problem with debugging (in C++ usually) is that you’re always convinced you’ve almost found the solution. As a result, it’s an easy time sink. Suddenly you’re 30 minutes past bedtime, you haven’t done any other homework or activities except for debugging, and your back and neck hurt from hunching over for hours. Oh and the bug still isn’t fixed.
This SUCKS. But it doesn’t happen at work, or for personal projects, just homework. Why? Work is timeboxed and personal projects have no real deadline. So I guess I’m just gonna have to start timeboxing my debugging. I haven’t touched math, art, or writing today, or any coding other than this insidious bug with my pressure solve. This will not happen again, and neither will my poor posture or lack of breaks.
And the cool thing about timeboxing debugs is, your subconscious can work on them when you’re not there. That’s why I often get good results with a morning study and evening study, with a break to screw around in between. I think I’ll do stuff like glance it over before lunch, etc.
Comments
Post a Comment