News for hackers. Stuff that matters.
Re:Systems ideas that sound good but almost never work by Majromax on Tuesday December 31, 2024 @04:06PM (#42561835)
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.

Re:Systems ideas that sound good but almost never work by travisjungroth on Tuesday December 31, 2024 @09:42PM (#42563551)
I 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.