r/javascript • • 1d ago

Why I Built a Description Language for Business Logic

https://dev.to/dkfuh/why-i-built-a-description-language-for-business-logic-3g43
0 Upvotes

4 comments sorted by

2

u/Healthy_Ad5013 1d ago

I like the idea of this tool, but in my organization im wondering what problems would be solved and what output of this tool would move the needle?

•

u/ritva-h4 12h ago

I'd judge it by a concrete artifact: can it validate rules, show reviewable diffs, or generate something downstream? If not, the DSL may just add another syntax to maintain.

1

u/gianluca_caruso-6 1d ago

What was the concrete pain point that made a separate description language worthwhile over expressing the rules in ordinary JavaScript?

1

u/Ronin-s_Spirit 1d ago

Do you need one? Look at the top JS/browser language frameworks and count how many of them come up with a separate language that requires source transpilation and/or clientside framework code.