3 ms·
In CS, there are no good and bad things, there are only trade offs. DSLs are only good when the effort to learn to be proficient in the DSL repays the time it t
by didibus 9y ago
In CS, there are no good and bad things, there are only trade offs. DSLs are only good when the effort to learn to be proficient in the DSL repays the time it took you to learn it. Otherwise, the cognitive load of learning the semantics and the challenges often with debugging are not worth it.
An example of a great DSL is linq in C#. List comprehensions in Clojure. JQuery in JavaScript. Etc.