Like A Duck@programming.dev to Technology@lemmy.ml · 1 year agoWhat is the best file format for configuration file?message-squaremessage-square46fedilinkarrow-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 year agomessage-square46fedilinkfile-text
minus-squarePapamousse@beehaw.orglinkfedilinkEnglisharrow-up5·1 year agoI’d say a file that you can open with a simple text editor is convenient, so it can be a simple .conf/.ini, more complex are .xml/.yaml that you can still edit in vim/nano but can be cumbersome. But as others say, it all depends on your app…
minus-squarenotthebees@reddthat.comlinkfedilinkarrow-up2·1 year agoToml is about the same as ini files at least with what I’ve worked with
I’d say a file that you can open with a simple text editor is convenient, so it can be a simple .conf/.ini, more complex are .xml/.yaml that you can still edit in vim/nano but can be cumbersome.
But as others say, it all depends on your app…
Toml is about the same as ini files at least with what I’ve worked with