Like A Duck@programming.dev to Technology@lemmy.worldEnglish · 2 years agoWhat is the best file format for configuration file?message-squaremessage-square24fedilinkarrow-up121arrow-down10file-text
arrow-up121arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Technology@lemmy.worldEnglish · 2 years agomessage-square24fedilinkfile-text
minus-squaredarganon@lemmy.worldlinkfedilinkEnglisharrow-up3·2 years agoI like xml, but it isn’t the easiest to read. I hate yaml with a burning passion. At least with JSON you can compress it all down.
minus-squareNegativeNull@lemmy.worldlinkfedilinkEnglisharrow-up5·2 years ago If you have a problem, and use XML to solve it, you now have two problems
minus-squareemptyother@programming.devlinkfedilinkEnglisharrow-up1·2 years agoI’m no fan of XML. It looks messy and the schema is difficult to write, imo. XML works best as a markup language. YAML could have been okay if it were stricter with what they consider strings, and used tabs instead of spaces.
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up2·2 years agoUsing whitespace was a mistake. I know all the kids love it but it’s just wrong. I’ve never had as much difficulty explaining json or xml to users as I have yaml.
I like xml, but it isn’t the easiest to read.
I hate yaml with a burning passion. At least with JSON you can compress it all down.
I’m no fan of XML. It looks messy and the schema is difficult to write, imo. XML works best as a markup language.
YAML could have been okay if it were stricter with what they consider strings, and used tabs instead of spaces.
Using whitespace was a mistake. I know all the kids love it but it’s just wrong. I’ve never had as much difficulty explaining json or xml to users as I have yaml.