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

Jesse Warden - May 2 '22 - - Dev Community

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:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player