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

If you’re passing or returning values of the wrong type, it’s going to blow up one of your tests. Asserting on a value implicitly asserts its type. Passing a value and not getting a runtime error for your trouble, pretty strongly indicates that it’s the right type.


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

Search: