Re:Dhall: A Non-Repetitive Alternative to YAML
by epage on Thursday July 04, 2019 @03:32PM
(#20357091)
Don't fully remember why I prefer json5 to hjson but at a quick glance, bare values is one. Bare values are ripe for someone entering in a string and accidentally getting a bool or number instead.
Re:Dhall: A Non-Repetitive Alternative to YAML
by tobr on Thursday July 04, 2019 @02:06PM
(#20356553)
How is this at all related to Dhall? It looks like a completely different thing with a completely different purpose.
Re:Dhall: A Non-Repetitive Alternative to YAML
by NuSkooler on Thursday July 04, 2019 @02:16PM
(#20356633)
They are both text based configuration file formats made to be easier for humans to interact with, so I'm not sure what you're confused about?
Re:Dhall: A Non-Repetitive Alternative to YAML
by tobr on Thursday July 04, 2019 @02:24PM
(#20356698)
That’s about the least interesting thing about Dhall. (It’s weird that they tout it prominently on the homepage.) There are so many flavors of syntax sugar for JSON, Dhall is a completely different beast.
Re:Dhall: A Non-Repetitive Alternative to YAML
by mcphage on Thursday July 04, 2019 @02:33PM
(#20356759)
You might want to ask the HN admins to rename the title for this post, then.
Re:Dhall: A Non-Repetitive Alternative to YAML
by tobr on Thursday July 04, 2019 @02:42PM
(#20356810)
It looks fine to me. Reducing repetition is precisely the type of thing Dhall’s features should be useful for.
Re:Dhall: A Non-Repetitive Alternative to YAML
by ape4 on Thursday July 04, 2019 @05:55PM
(#20358109)
Also Relaxed JSON. http://www.relaxedjson.org/
If it's truly for end-users (read: non-admin/dev types), you probably shouldn't have them touching configuration files _at all_.