▲ 43 ▼ What is the best file format for configuration file? (programming.dev) submitted 3 years ago by likeaduck@programming.dev to c/experienced_devs@programming.dev 47 comments fedilink hide all child comments .yaml, .toml, etc?
[–] sfera@beehaw.org 1 point 2 years ago (1 child) How do you comment multiple properties separately? permalink fedilink source parent hideshow 2 child comments replies: [+] AeroLemming@lemm.ee 2 points 2 years ago* (last edited 2 years ago) (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [–] sfera@beehaw.org 1 point 2 years ago Don't worry, I wouldn't do things like this in JSON. Nevertheless, it can be very useful to have comments along with configuration values, for example to explain the actual values (not their purpose) and why they were chosen. That's information you can't add to the code which processes the values. permalink fedilink source parent
[+] AeroLemming@lemm.ee 2 points 2 years ago* (last edited 2 years ago) (1 child) [deleted] permalink fedilink source parent hideshow 2 child comments replies: [–] sfera@beehaw.org 1 point 2 years ago Don't worry, I wouldn't do things like this in JSON. Nevertheless, it can be very useful to have comments along with configuration values, for example to explain the actual values (not their purpose) and why they were chosen. That's information you can't add to the code which processes the values. permalink fedilink source parent
[–] sfera@beehaw.org 1 point 2 years ago Don't worry, I wouldn't do things like this in JSON. Nevertheless, it can be very useful to have comments along with configuration values, for example to explain the actual values (not their purpose) and why they were chosen. That's information you can't add to the code which processes the values. permalink fedilink source parent