|
|
|
|
|
by eternityforest
1015 days ago
|
|
Better than making your own syntax for a declarative system, that now needs custom tools. I'd prefer it to lisp, and to JSON if I have to hand read or write it. What's the alternative, besides specifying your declarative stuff inside something like Python? |
|
My point is that the more complex use cases like GitHub actions conditions invent their own DSLs in yaml string values anyway because nobody wants to write in a half broken lisp but in yaml instead of s-exprs, so suddenly you’re writing yaml but with JavaScript. Might as well start out with JavaScript and not pretend it’s a simple declarative language when it clearly isn’t. CDK people clearly saw that, not sure if execution is optimal, but at least the general purpose tooling works (libraries, types, tests, IDEs, etc).