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

Not suggesting that testing other things isn't useful but not as straightforward and not as obviously beneficial as pure function testing. It is easy to just dogmatically pile on tests but they may not be helpful.


I’d say, as beneficial. But as you say, not as straightforward. One if the reasons functional programming is popular is because it makes it easier to test, but it’s not that other code needs less testing.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: