News for hackers. Stuff that matters.
Re:Dhall: A Non-Repetitive Alternative to YAML by tobr on Thursday July 04, 2019 @02:07PM (#20356568)
So far, only comments complaining about syntax. You can do better, HN!
Re:Dhall: A Non-Repetitive Alternative to YAML by nikolay on Thursday July 04, 2019 @02:20PM (#20356667)
Yeah, because that's what most configuration languages differ in.
Re:Dhall: A Non-Repetitive Alternative to YAML by kccqzy on Thursday July 04, 2019 @03:42PM (#20357166)
And yet, in focusing on the syntax, you missed the biggest difference between Dhall and other configuration languages: safe, termination-guaranteed non-Turing-complete computation.
Re:Dhall: A Non-Repetitive Alternative to YAML by nikolay on Thursday July 04, 2019 @04:30PM (#20357514)
How is it better than Jsonnet or Starlark?
Re:Dhall: A Non-Repetitive Alternative to YAML by mbrock on Friday July 05, 2019 @02:48AM (#20360379)
static type system
Re:Dhall: A Non-Repetitive Alternative to YAML by nikolay on Friday July 05, 2019 @06:01AM (#20361249)
True. But isn't this also accomplished when pairing JSON with JSON Schema?
Re:Dhall: A Non-Repetitive Alternative to YAML by jose_zap on Friday July 05, 2019 @07:01AM (#20361540)
The schema applies to the generated values, but what’s the equivalent of a schema for a programming language? Types.

Jsonnet does not have a way to validate its functions without running them first.

Re:Dhall: A Non-Repetitive Alternative to YAML by nikolay on Friday July 05, 2019 @07:06AM (#20361561)
I clearly get that, but many IDEs use the schema to help you produce valid JSON.
Re:Dhall: A Non-Repetitive Alternative to YAML by tobr on Thursday July 04, 2019 @04:58PM (#20357738)
Why are you implying that kccqzy thinks Dhall is better than Jsonnet or Starlark?
Re:Dhall: A Non-Repetitive Alternative to YAML by nikolay on Thursday July 04, 2019 @06:45PM (#20358395)
A new project should be better than the old ones. Otherwise, what's the point?
Re:Dhall: A Non-Repetitive Alternative to YAML by marcosdumay on Thursday July 04, 2019 @04:53PM (#20357695)
And yet, HN is commenting about a language people use to describe entire networks of computers on a few non-redundant centralized files... And all the comments are about syntax.
Re:Dhall: A Non-Repetitive Alternative to YAML by lelf on Thursday July 04, 2019 @03:25PM (#20357056)
Re:Dhall: A Non-Repetitive Alternative to YAML by Vosporos on Thursday July 04, 2019 @02:24PM (#20356692)
I'm afraid years of n-gate have shown that HN cannot do better.
Re:Dhall: A Non-Repetitive Alternative to YAML by mitchtbaum on Thursday July 04, 2019 @02:56PM (#20356891)
n-gategate strikes again