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

It's much more ergonomic, flexible, testable, and configurable to inject that connection pool thing instead of bodging it together in the static initializer. Classes shouldn't be managing resources of which they are properly only consumer...


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

Search: