Like A Duck@programming.dev to Technology@lemmy.worldEnglish · 1 year agoWhat is the best file format for configuration file?message-squaremessage-square34fedilinkarrow-up141arrow-down12file-text
arrow-up139arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Technology@lemmy.worldEnglish · 1 year agomessage-square34fedilinkfile-text
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up9arrow-down2·edit-21 month agoRemoved by mod
minus-squareabhibeckert@lemmy.worldlinkfedilinkEnglisharrow-up15arrow-down1·edit-21 year agoUh no, the worst is a tie between XML and JSON. XML because the syntax is hard to read and even harder to write, and JSON because you can’t do comments. WTF.
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up6arrow-down2·edit-21 month agoRemoved by mod
minus-squareschaeferpp@discuss.tchncs.delinkfedilinkEnglisharrow-up4arrow-down4·1 year agoSomebody has to say it, so I’m taking on the duty: If whitespace is a problem, you use the wrong editor.
minus-squarevrighter@discuss.tchncs.delinkfedilinkEnglisharrow-up2·1 year agoyou can write json with comments and pass it through a yaml parser. try it.
minus-squarejmanjones@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-21 year agoI instant exit on XML conf files. I have no idea how to parse the info, maybe I should. But there are too many tags and my eyes instantly glaze over when I see it!
Removed by mod
Uh no, the worst is a tie between XML and JSON.
XML because the syntax is hard to read and even harder to write, and JSON because you can’t do comments. WTF.
Removed by mod
Somebody has to say it, so I’m taking on the duty:
If whitespace is a problem, you use the wrong editor.
Removed by mod
you can write json with comments and pass it through a yaml parser. try it.
I instant exit on XML conf files. I have no idea how to parse the info, maybe I should. But there are too many tags and my eyes instantly glaze over when I see it!