3 ms·
I posted this under another reply, but yes, I didn't actually realize the distinction of "containers" and how that's just one specialization of the pattern. Con
by brundolf 6y ago
I posted this under another reply, but yes, I didn't actually realize the distinction of "containers" and how that's just one specialization of the pattern. Containers appear to be the main thing that bothers me, particularly when the container implementation requires that all injectable entities are classes and not functions. It creates this "viral" effect where nearly everything you implement ends up having to be wrapped up in a class, even when there's no reason to do so other than the injection container.
- Fire-Dragon-DoL 6y agook! Yeah the ioc pattern is not great, there are better alternatives out there without the need of having an object dependent on the entirety of the software.