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

I suppose that you are being downvoted because, though your arguments are correct, this thread is not about "how to avoid NPEs in Java" and is therefore OT.

That said, "write good tests" is impossible. You can write as many tests as you want, you can make sure those loops loop or don't, and those ifs if or don't, but you cannot write "good" tests. Tests will always miss some corner case, some input, some unexpected locale variable.




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

Search: