Like A Duck@programming.dev to Technology@lemmy.ml · 1 年前What is the best file format for configuration file?message-squaremessage-square44fedilinkarrow-up135arrow-down12file-text
arrow-up133arrow-down1message-squareWhat is the best file format for configuration file?Like A Duck@programming.dev to Technology@lemmy.ml · 1 年前message-square44fedilinkfile-text
minus-squareThe Doctor@beehaw.orglinkfedilinkarrow-up4·1 年前Not XML. Not binary-only (looking at you, Solaris). Personally, I like .ini-style config files, but I’m weird that way.
minus-squareThe Doctor@beehaw.orglinkfedilinkarrow-up1·1 年前I don’t know. Never really thought about TOML.
minus-squareGissaMittJobb@lemmy.mllinkfedilinkarrow-up2·1 年前Check out the spec sometime. It’s basically ini with some stuff added on top. It’s quite nice when you need something that parses into some kind of map, while being human readable.
Not XML. Not binary-only (looking at you, Solaris).
Personally, I like .ini-style config files, but I’m weird that way.
Toml is kind of ini++, though, isn’t it.
I don’t know. Never really thought about TOML.
Check out the spec sometime. It’s basically ini with some stuff added on top.
It’s quite nice when you need something that parses into some kind of map, while being human readable.