A Modern Alternative to Abstract Factory Filtered Dependencies
I’ve mentioned before that I really don’t like the Abstract Factory pattern, and in particular, code like this: static IGUIFactory CreateOsSpecificFactory() { string sysType = ConfigurationSettings.AppSettings[“OS_TYPE”]; if (sysType == “Win”)…