Domain-specific languages
Using specific keywords to describe parts of the domain is one of the main goals we set out to achieve in building a system using domain-driven design. Especially the LISP community, which has been an influence on JavaScript (http://readwrite.com/2011/07/22/javascript-was-no-accident), there is a strong tendency to meld the language to the problem. This naturally leads to further trying to make the language fit the domain, with the ultimate goal of having a language that is perfect for solving the specific problem the domain has.
This kind of development is referred to as using Domain-specific Languages, or DSL for short. In day-to-day work, there are lots of very DSLs we come across, be it CSS to describe the style of ...
Get JavaScript Domain-Driven Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.