News for hackers. Stuff that matters.
Re:Typed Config Languages by Spivak on Friday January 21, 2022 @03:07PM (#30029264)
So yes it’s a footgun but it makes some sense. Most people wouldn’t really complain about true not being equivalent to “true” or 100 not keeping it “100”. People just aren’t used to yes/no being reserved words. Ruby’s klass is a funny workaround to this.

    enable_feature: yes
Is totally natural. Nobody reads the spec though. If you’re outputting YAML documents with string builders you’re headed for ruin no matter what. You don’t need Dhall, you need yaml.dump which handles the types too.

There are no comments on this comment yet.