Sherlock Holmes was a master detective, always able to deduce the solution to any problem he encountered. From this quote, I assume he’d also be great at debugging code. Many developers aren’t great at debugging problems in their code, or god forbid in someone else’s. When it comes down to it, debugging is a combination of experience, patience, and acting like Sherlock Holmes.

And finally, a tip from Rick Osborne…

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
Rick Osborne