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

From my experience, easily testable code (this means applications and interfaces) is stabler and easier to maintain.

By testable code I mean code that's either easy to test or write tests for. I see a lot of tests retrofitted assuming that the code must not change. So my thumb rule is if it's hard to test then re-design it.



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

Search: