Like A Duck@programming.dev to Technology@lemmy.worldEnglish · 1 year agoWhat is the best file format for configuration file?message-squaremessage-square42fedilinkarrow-up139arrow-down11file-text
arrow-up138arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Technology@lemmy.worldEnglish · 1 year agomessage-square42fedilinkfile-text
minus-squareemptyother@programming.devlinkfedilinkEnglisharrow-up1·1 year 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-up3·1 year 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’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.