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

Often this is done in the name of "testability" by the the "(unit) test everything" zealots. I've met some of them who haven't seen a function they wouldn'tsplit up to test different branches or what have you independently. The resulting code is frequently a nightmare of function aliases, mocks and other problematic artifices.


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

Search: