2 ms·
> As we learn to code, one of the most frustrating experiences we can have is finding bugs in our code. Bug hunting can be a really fun thing to do. It's a cha
by kintamanimatt 14y ago
> As we learn to code, one of the most frustrating experiences we can have is finding bugs in our code.
Bug hunting can be a really fun thing to do. It's a challenge to (often) see beyond your own blind spot and use logic and reasoning to find the error.
TDD (and its kissing cousins) aren't a panacea, but I suspect OP's testing strategy is a little too thin or absent. Chances are if there is a test suite, it's not properly testing the entire code base.
- marquis 14y agoDepending on the bug and the stress level, it can certainly be a riveting experience to search for an error deep in your own code. I find it's also an important source of refactoring for me, I take notes about what v2 will not be doing. Unit testing is great but it doesn't teach me to innovate or come across solutions I hadn't thought of before like genuine dirty bugfixing can do.