...

/

Getting Domain Specific

Getting Domain Specific

Learn to create an HTML domain-specific language that generates templates from pure Elixir code.

Why use domain-specific language?

One of the most powerful ways to use macros is to build domain-specific languages (DSLs). DSLs can create a custom layer in the language to attack problems closer to our application domain. This can make our code easier to write and make it more clearly represent the problem being solved. With DSLs, we can codify our business requirements and ...