jeudi 24 novembre 2016

How can I avoid long if - else in Factory?

I have a Factory that create from xml file, is that possible to avoid long if - else, if the xml is dynamic and I don't want to hardcode the objects ?

Aucun commentaire:

Enregistrer un commentaire