Like A Duck to Experienced Devs@programming.dev • 11 months agoWhat is the best file format for configuration file?message-square53fedilinkarrow-up143file-text
arrow-up143message-squareWhat is the best file format for configuration file?Like A Duck to Experienced Devs@programming.dev • 11 months agomessage-square53fedilinkfile-text
minus-square@Andy@programming.devlinkfedilink8•11 months agohttps://nestedtext.org/ It’s like yaml but simple, consistent, untyped, and you never need to escape any characters, ever. Types and validation aren’t going to be great unless they’re in the actual code anyway.
minus-square@timbuck2themoon@sh.itjust.workslinkfedilinkEnglish3•11 months agoAgreed. I honestly don’t understand anyone who likes json over it. Json is fine for certain things but manually typing that is pain ten times over. It’s better than XML surely but not by terribly much.
https://nestedtext.org/
It’s like yaml but simple, consistent, untyped, and you never need to escape any characters, ever.
Types and validation aren’t going to be great unless they’re in the actual code anyway.
Agreed.
I honestly don’t understand anyone who likes json over it. Json is fine for certain things but manually typing that is pain ten times over. It’s better than XML surely but not by terribly much.