|
|
|
|
|
by celeritascelery
2338 days ago
|
|
> My assertion is that, while that's nice, most of the DSL is actually the functions and data structures. The syntax is sugar - say, maybe 10% of the benefit, but not more. I don’t know, thinking of some DSL’s like HTML or SQL, syntax seems to be a really big part it. |
|
For example, what works for html is basically the dom (data structure) and its functionality (the functions). There are others ways of creating and working with those than the specific html syntax. For example, haml. Or you might say, jsx, or elm,is also such a syntax for the same data structures.
These other approaches work perfectly fine, too.