DEV Community

Cover image for Programming Tip #4: Domain Modeling using And and Or types
Jesse Warden
Jesse Warden

Posted on

Programming Tip #4: Domain Modeling using And and Or types

Programming Tip #4: Domain Modeling using And and Or types. To learn Domain Driven Design, start by using And and Or types to model your domain, the business problem you're solving, using real world language your users use in the code. Do it in small steps, using your compiler to iterate. If you don't have Sum types, Enums can work.

Image description

Learn More:

Top comments (0)