Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But tests are so powerful and so cheap...

Tests are cheap on the front end but they incur a cost over time. Let's say your code works and you write 100 tests to cover everything. Then, somewhere down the line, you have to make a change to your code, you refactor, or whatever. Now you have to change all of your tests.

It's great the tests are there, and they serve a useful purpose, but they have an actual cost that can accrue to be substantial.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: