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

the problem is that those DI frameworks are all adding substantial amount of complexity and brain load.

I started using just static factories in my code, and abandoned all those DI and it works well enough.



  > I started using just static factories in my code, and abandoned all those DI and it works well enough.
i have done this as well (though not in java), it makes knowing what gets initialized how and where much easier and faster to debug




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

Search: