|
|
|
|
|
by necovek
1535 days ago
|
|
While some configurability is desireable, being explicit is even more so. I wonder why Zope died out? It has everything, it's a completely sound design, and makes all components interchangeable, and it's very pretty when done properly. It died out because it's verbose and gets hairy quickly in the real world where not everyone is on the same page, so it never ends up being used "properly". Go for simpler and you have a higher chance of everybody getting the intent on their first reading of code. It's going to be hard to get people to not do DI "properly" if you simply ask them to pass dependencies in (though I am sure they still could by eg. passing classes vs instances in). |
|