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

But thinking that running 12 miles a day is the only useful way to run, will discourage you from attempting to run.

To put it another way, saying "50% test coverage is fine, sheesh" should encourage more testing, because it lowers the bar you have to strive for to consider yourself to be "doing it right", and therefore makes it easier to talk yourself into trying at all.




Even better, what we're saying is "50% test coverage is a good start, keep writing good tests and if the number goes up, that's even better." Targeting 100% coverage simply motivates using the wrong incentive.

It is a subtle, but extremely important, distinction.




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

Search: