logoalt Hacker News

aletoday at 12:38 PM1 replyview on HN

I know right. I’m glad DSLs have fallen out of fashion. Just use the platform.


Replies

chipdaletoday at 1:12 PM

I can understand why developers might not care for DSLs, especially when they force a choice between entirely different toolsets and toolchains.

However, I feel people often miss the real value of a good DSL: it's not about the syntax, but about providing hardened semantics that can bolster or guarantee desired qualities. Elm, for instance, provides value insofar as it makes producing runtime exceptions significantly more difficult.

Personally, I hope languages like Lean, which provides exceptional support for creating DSLs within the language, renew interest in semantically sound DSLs, especially if we insist on using LLMs.

show 1 reply