Skip to content

Comment on How I Learned to Stop Worrying and Just Fix Testsparent

Comments

My revelation came from more simpler stuff. I was programming some service at work, and as usual there were a lot of bugs. I tend to worry a lot during programming about corner cases etc. I analyzed myself analyzing, and thought may be this is what a computer should do, which is inline with an earlier epiphany that "It is cardinal sin of a developer to do himself what a computer can do".

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.