3 ms·
So this is what confuses me about claims that in Python you don't need all this extra cruft, because the language makes these things possible: if you are using
by brown9-2 16y ago
So this is what confuses me about claims that in Python you don't need all this extra cruft, because the language makes these things possible:
if you are using the Facade pattern in Python for this example, you'd be using the same pattern in Java.
So then, what exactly is different here?
- deleted 16y ago[deleted]
- jerf 16y agoNothing! Dependency injection is just programming. You don't need a "framework" for it, even in Java. Java is crufty in other ways that may make various objects more painful to use than in Python; where you need a zoo of classes in Java you often don't in Python. But this isn't one of those places. The term does nothing but create confusion for no good reason.