Hacker News new | ask | show | jobs
by jmathai 4197 days ago
The longer I've written tests the truer this becomes. Nowadays it doesn't take me much time to write the tests. I'm not a TDD zealot but I often write tests in conjunction with a new feature. I've found that it makes the overall process faster, resulting code simpler and interface to the code more consistent.

A small investment of time writing tests before implementation yields the best overall results across the board.