3 ms·
YAML seems like a good that gets harmed by feature-creep. All I want when using YAML is a simple human-friendly text-format for slightly structured data. But al
by PurpleRamen 4y ago
YAML seems like a good that gets harmed by feature-creep. All I want when using YAML is a simple human-friendly text-format for slightly structured data. But all those special features and edge cases...as if I even have the time to learn about them. Values should be only text. Outside of the handful clear specified cases of numbers and maybe true/false/none, they should not have any other interpretation on the parser.
Isn't there something like a simple YAML-definition and some YAMl-schema for the powerusers?
- singularity2001 4y agoWouldn't it be easy to make those features optional and switched off by default in "YAML--"?
- kitd 4y agoHe mentions it at the end (the 'YAML subset' alternative), but the edge cases only cause issues if your keys and values begin with special characters but are intended to be simple text. I tend to defensively quote stuff (probably much more than I have to), and I rarely find these issues. I have other issues with YAML but not this.
- ilyt 4y ago> Values should be only text. Outside of the handful clear specified cases of numbers and maybe true/false/none, they should not have any other interpretation on the parser. I think simpler way would be just forcing quoting on text. That fixes the boolean and the different base numerics problem
- shp0ngle 4y agoYAML has come from Perl world. Of course it has feature creep. It’s a Perl thing.