DEV Community

Discussion on: An IoC pattern to avoid repetitive if statements

 
tomazfernandes profile image
Tomaz Lemos

Maybe we could have the DataHandlerSelector, and then a DataHandlerSelectorFactory to do the actual instantiation of all the classes involved, I guess it would be more accurate.