How I Learned to Stop Worrying and Just Fix Tests
engineering.bookrenter.com
engineering.bookrenter.com
Now I tend not to worry about corner cases etc while programming. I just write all the stuff I can, and write tests for all the stuff that could possibly go wrong. And let the computer figure out the bugs for me :). It somewhat reminds me of Prolog.