DEV Community

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

Collapse
 
thfsilvab profile image
Thadeu

Sometimes, objects become too complex to be handled only by the constructor.

Sometimes you'll also want to apply domain rules in the creation of an object.