3 ms·
It's rather cumbersome that you have to initialize all those factories in FizzBuzz.java. You should probably be using an Inversion of Control system.
by jonahss 14y ago
It's rather cumbersome that you have to initialize all those factories in FizzBuzz.java. You should probably be using an Inversion of Control system.
- modarts 14y agoBut what if you wanted to swap out your IOC container? I think you'd have to inject your container using an InversionOfControlFactory pattern