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

Tests matter, but elegance and simplicity matter, too. Tony Hoare said, "There are two ways to write code: write code so simple there are obviously no bugs in it, or write code so complex that there are no obvious bugs in it." All code needs module-level or API-level acceptance tests so that anyone can change it and deploy it with confidence, but well-written code needs fewer low-level tests of implementation details.


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

Search: