News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by incrudible on Friday January 26, 2024 @12:55PM (#39145530)
That is a bug, not a feature.
Re:Why the fuck are we templating YAML? (2019) by mcculley on Friday January 26, 2024 @01:36PM (#39146178)
Not to me. I have lots of data exchanging going on where the format is expressed well in XSD and in JSON Schema it is expressed through documentation, code, and a history of angry emails.
Re:Why the fuck are we templating YAML? (2019) by incrudible on Saturday January 27, 2024 @03:42PM (#39159631)
If it can't be expressed as a JSON schema, it's a bad idea. If it can be expressed by a JSON schema, it may be a good idea.
Re:Why the fuck are we templating YAML? (2019) by mcculley on Sunday January 28, 2024 @08:50AM (#39165709)
This does not match my experience.

Can you provide some clear explanation or examples of why having less power to express a schema is desirable?

Re:Why the fuck are we templating YAML? (2019) by incrudible on Tuesday January 30, 2024 @05:05PM (#39196520)
Paralysis of choice.
Re:Why the fuck are we templating YAML? (2019) by mcculley on Thursday February 01, 2024 @08:30AM (#39215702)
This remains an unconvincing argument.
Re:Why the fuck are we templating YAML? (2019) by incrudible on Friday February 02, 2024 @06:31AM (#39227499)
Not everybody needs convincing. JSON already won.
Re:Why the fuck are we templating YAML? (2019) by mcculley on Friday February 02, 2024 @07:19PM (#39236316)
It won in places where one does not need to express an integer larger than 2^53. Lots of us have harder requirements.