DEV Community

Discussion on: How to avoid the Factory pattern in C#

Collapse
 
guneyozsan profile image
Guney Ozsan

Thank you for pointing this. I'm a Unity developer and in Unity we cannot use constructors at all (it breaks the engine). Plus, interfaces are sometimes anti-pattern (if not most of the time). This sometimes create confusion.