3 ms·
Dynamic languages provide their own DI facilities simply by making objects. Since the definition of a class, or object, or prototype (whatever your language ha
by rjbwork 12y ago
Dynamic languages provide their own DI facilities simply by making objects. Since the definition of a class, or object, or prototype (whatever your language happens to call it) can be completely changed at runtime before ever getting to your code,there's no need for injection.
You can simply configure all your services and helpers and config objects and managers etc. at startup, so there's no need for an explicit DI/IoC type pattern.