{ home = "/home/bill" , privateKey = "/home/bill/.ssh/id_ed25519" , publicKey = "/home/blil/.ssh/id_ed25519.pub" } This is the most awkward abuse of formatting I've seen in a long time. Just allow/require a final trailing comma, and this nonsense goes away
The Dhall Configuration Language
21–30 of 192 posts
Re: The Dhall Configuration Language
#22> Can you spot the mistake? Nope, so now I have no incentive to use your config format because it's established something is wrong and it's completely non-obvious. Thanks for not wasting my time, I guess.
How could they make the mistake obvious? It's a mistake in a string value!
Re: The Dhall Configuration Language
#23> Can you spot the mistake? Nope, so now I have no incentive to use your config format because it's established something is wrong and it's completely non-obvious. Thanks for not wasting my time, I guess.
How could they make the mistake obvious? It's a mistake in a string value!
Re: The Dhall Configuration Language
#24> Can you spot the mistake? Nope, so now I have no incentive to use your config format because it's established something is wrong and it's completely non-obvious. Thanks for not wasting my time, I guess.
This opinion is ironic because this is exactly what the author intended to describe -- the typo IS hard to find. The "Hello, World" example is nothing more than JSON, showing a string repeated 3 times. On the third time, "bill" is misspelled with "blil". The next tab shows how Dhall uses a variable definition to prevent this type of error.
Re: The Dhall Configuration Language
#25{ home = "/home/bill" , privateKey = "/home/bill/.ssh/id_ed25519" , publicKey = "/home/blil/.ssh/id_ed25519.pub" } This is the most awkward abuse of formatting I've seen in a long time. Just allow/require a final trailing comma, and this nonsense goes away
{:home "/home/bill"
:private-key "/home/bill/.ssh/id_ed25519"
:public-key "/home/bill/.ssh/id_ed25519.pub"}Re: The Dhall Configuration Language
#26this looks super useful, but its also horribly ugly.
Re: The Dhall Configuration Language
#27> Can you spot the mistake? Nope, so now I have no incentive to use your config format because it's established something is wrong and it's completely non-obvious. Thanks for not wasting my time, I guess.
This opinion is ironic because this is exactly what the author intended to describe -- the typo IS hard to find. The "Hello, World" example is nothing more than JSON, showing a string repeated 3 times. On the third time, "bill" is misspelled with "blil". The next tab shows how Dhall uses a variable definition to prevent this type of error.
Re: The Dhall Configuration Language
#28Re: The Dhall Configuration Language
#29"Comparisons between CUE, Jsonnet, Dhall, OPA, etc." https://github.com/cue-lang/cue/discussions/669
Re: The Dhall Configuration Language
#30Earlier quoted context omitted.
How could they make the mistake obvious? It's a mistake in a string value!
How about not making the very first thing on the page a confusing puzzle?
The project looks cool though.