Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sitkack
on Oct 27, 2017
|
parent
|
context
|
favorite
| on:
Write tests. Not too many. Mostly integration
Testing internals forces future programmers of the codebase to maintain those invariants. All code is a liability.
hinkley
on Oct 27, 2017
[–]
Not in my experience. Convincing people to delete tests that only assert one invariant when the business changes its mind is easy. It’s the ones that have residual value after removing one invariant that trap people into spinning their wheels.
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: