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

How testable is this, though?


It might be a problem when you can't afford side-effects that you later throw away, but I haven't experienced that yet. The functions still have return codes, so you still can test, whether a correct input results in no error check being followed and that incorrect input results in an error check being triggered.




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

Search: