I like it,
But For some reason I find it bit cumbersome if I want add new factory, I will have to add this to support in Factory class and add a switch case , or maybe some dependency injection can be done?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I like it,
But For some reason I find it bit cumbersome if I want add new factory, I will have to add this to support in Factory class and add a switch case , or maybe some dependency injection can be done?