Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
niv
on Feb 25, 2009
|
parent
|
context
|
favorite
| on:
Writing unit tests is reinventing functional progr...
Maybe you should try reading a bit about dependency injection. It is a declarative way to assembly pieces of software (in this case, objects) that have no knowledge of each other. You can do it manually, but this is an easier way to do it.
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: