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

The author of the post agrees with you that library code is different:

> I should mention that almost all of my open source projects have 100% code coverage. This is because most of my open source projects are smaller libraries and tools that are reusable in many different situations (a breakage could lead to a serious problem in a lot of consuming projects) and they’re relatively easy to get 100% code coverage on anyway.



The thing is, everything that survives becomes a library, as someone will always find a way to try to reuse it.


Let them write the comprehensive test suite, then. Your reasoning is a classic context for YAGNI.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: