2 ms·
> is to create a functional mini-DSL Exactly. Is there a formal term for this? Instead of one gigantic function with 50 parameters, you have 100 "template" fu
by crazygringo 3y ago
> is to create a functional mini-DSL
Exactly. Is there a formal term for this?
Instead of one gigantic function with 50 parameters, you have 100 "template" functions, that all make use 60 different "helper" functions (what you're calling the DSL).
Instead of castles-of-logic abstraction, it's nuts-and-bolts or grass-roots abstractions. I've never come across a name for this development style.
But it generally works extremely well when building processes for tens/hundreds of data formats or customers or what have you.
- consilient 3y ago> I've never come across a name for this development style. Libraries designed like this are sometimes called "combinator libraries".
- code_biologist 3y agoEmbedded DSLs is the term I’ve seen in the Haskell, Scheme and Ruby communities.
- fiddlerwoaroof 3y agoThis sounds like what lispers call something like “language driven design” or “growing a language”
- Kalabasa 3y agoBuilder pattern is a similar concept