Hacker News new | past | comments | ask | show | jobs | submit login

As a TDD, I really don't care too much about the implementation as long as my tests pass. Performance however is another issue, but that's something that can be optimized and re-written into something like this depending on the language.



But how do you know you have sufficiently full tests which assess program correctness, to paraphrase the parent?


Property-based testing, preferably with with heavy use of design-by-contracts style pre/post/invariants checking. Ideally also mutation testing.


That is a skill requiring study and practice.

I call it "being a good programmer."




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

Search: