What is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 11 months ago message-square26fedilinkarrow-up129
arrow-up129message-squareWhat is the best file format for configuration file? Like A Duck ( @likeaduck@programming.dev ) Technology@lemmy.ml • 11 months ago message-square26fedilink
minus-square The Doctor ( @drwho@beehaw.org ) linkfedilink4•11 months 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•11 months agoToml is kind of ini++, though, isn’t it.
minus-square The Doctor ( @drwho@beehaw.org ) linkfedilink1•11 months agoI don’t know. Never really thought about TOML.
minus-square GissaMittJobb ( @GissaMittJobb@lemmy.ml ) linkfedilink2•11 months 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.