In the interest of becoming a better programmer, I'm looking for pointers to books, articles, resources related to error handling and debugging.
1) Error Handling
coding "defensively", best practices with respect to throwing/catching exceptions, handling nulls (and coding so you don't have to), working systematically to cover edge cases, different error handling strategies or approaches, and the contexts in which they make sense
2) Debugging
different types of debugging for different situations, how to step through code effectively, various debugging tools (more like categories of tools than the actual implementations, though implementations would also be helpful -- maybe comparing and contrasting different tools and techniques for different situations)
For the most part I work '
test driven' as best as I can. I'm working in legacy code a lot of the time, very little of the code is covered in tests (we've increased coverage from 18% to 35% in the past 3 months) and that code passes nulls around like candy on Halloween.
If you have any suggestions of where to start, I would be very grateful!