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

> [1] If you need a good starting idea, consider pulling all of the methods out of one class and putting them into an interface of the same name. Then rename the original class impl. Do this for all classes with exactly one implementation for maximum effectiveness

We have too many repos that have this behaviour. Every time I've raised it as pointless I get "You just don't understand the power of DI". I guess not.



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

Search: