DEV Community

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

Posted on

3 1

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:

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)