Re:Dhall: A Non-Repetitive Alternative to YAML
by Jeff_Brown on Thursday July 04, 2019 @03:14PM
(#20357000)
> All I did was add another layer of complexity
If that was in fact all you had done, it would not be worth it. But it might remove a ton of boilerplate from your YAML.
Re:Dhall: A Non-Repetitive Alternative to YAML
by LoSboccacc on Thursday July 04, 2019 @04:56PM
(#20357719)
or, one can eliminate boilerplate in code so that configuration stays simple and the logic in the application
I mean what's the role of configuration? is so that installer can tune or match environments. if configuration becomes as hard as your program to understand then installation won't ever scale
Re:Dhall: A Non-Repetitive Alternative to YAML
by StreamBright on Thursday July 04, 2019 @03:35PM
(#20357114)
>> I can't replace my YAML with Dhall and consume it directly.
Sorry I don't get it. Why not? Because your favorite languages do not support it?
Re:Dhall: A Non-Repetitive Alternative to YAML
by dymk on Thursday July 04, 2019 @04:24PM
(#20357479)
How many languages have an Dhall implementation? One?
Re:Dhall: A Non-Repetitive Alternative to YAML
by nightkoder on Thursday July 04, 2019 @04:51PM
(#20357685)
As far as I know Clojure, Haskell, Ruby, Rust in various stages of completion..
Re:Dhall: A Non-Repetitive Alternative to YAML
by singpolyma3 on Friday July 05, 2019 @08:38PM
(#20366986)
Both Clojure and Eta bindings should allow really anything on the JVM to consume directly.
Maybe you'll benefit from the added abstraction; I see the value in having "typed" configs that are semi-scriptable but not turing complete. But it's in no way a "replacement".