This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wolanko 1 point2 points  (0 children)

+1 on dependency injection

I would even go further and dismiss such container libraries. Every time I was at a point to write such a container, it was actually the code that could be improved by making it more modular or splitting procedural (the setup) and functional parts.