DEV Community

Discussion on: What’s an unpopular software opinion you have?

Collapse
 
sam_ferree profile image
Sam Ferree

Don’t declare an empty constructor in your domain model unless it’s a valid use case.

“But my ORM needs”

I don’t care. I don’t care. I don’t care.