What is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 1 year ago message-square26fedilinkarrow-up129
arrow-up129message-squareWhat is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 1 year ago message-square26fedilink
minus-square The Doctor ( @drwho@beehaw.org ) linkfedilink4•1 year agoNot XML. Not binary-only (looking at you, Solaris). Personally, I like .ini-style config files, but I’m weird that way.
minus-square GissaMittJobb ( @GissaMittJobb@lemmy.ml ) linkfedilink3•1 year agoToml is kind of ini++, though, isn’t it.
minus-square The Doctor ( @drwho@beehaw.org ) linkfedilink1•1 year agoI don’t know. Never really thought about TOML.
minus-square GissaMittJobb ( @GissaMittJobb@lemmy.ml ) linkfedilink2•1 year agoCheck 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.