3 ms·
A DSL is an additional functionality adding more components to the system and thus increases its complexity. A DSL incurs extra learning cost that new develope
by ww520 15y ago
A DSL is an additional functionality adding more components to the system and thus increases its complexity. A DSL incurs extra learning cost that new developers coming onboard need to spend more effort in learning.
You can have a simple library or util module with the standard function API instead of building a DSL. They work just as well in many designs.
It is a tradeoff when deciding to use DSL or not.