4 ms·
I think the theory of domain-specific languages is very valuable, even if there's rarely a need for a full implementation of one. As I see it, a DSL is just th
by Majromax 2y ago
I think the theory of domain-specific languages is very valuable, even if there's rarely a need for a full implementation of one.
As I see it, a DSL is just the end-state of a programmer creating abstractions and reusable components to ultimately solve the real problem. The nouns and verbs granted by a programming interface constrain how one thinks, so a flexible and intuitive vocabulary and grammar can make the "real program" powerful and easy to maintain. Conversely, a rigid and irregular interface makes the "real program" a brittle maintenance nightmare.
- travisjungroth 2y agoI agree. The line between a DSL and regular old programming abstractions is fuzzy. Learning some language design is very helpful because you’ll see every abstraction is a little piece of language.