DEV Community

Discussion on: Enum in typescript

Collapse
 
moseskarunia profile image
Moses Karunia

Hello, thanks for your answer. By the way I never heard of DDD yet. Care to elaborate? :)

Collapse
 
seangwright profile image
Sean G. Wright • Edited

Here's a link to the definition of Domain Driven Design (DDD)

"Domain-driven design is predicated on the following goals:

  • placing the project's primary focus on the core domain and domain logic;
  • basing complex designs on a model of the domain;
  • initiating a creative collaboration between technical and domain experts to iteratively refine a conceptual model that addresses particular domain problems."

And here's an implementation of Value Objects in Typescript