.yaml, .toml, etc?

you are viewing a single comment's thread
view the rest of the comments
[+] 12 points 3 years ago* (last edited 2 years ago) (3 children)
  • [–] 1 point 2 years ago (1 child)

    How do you comment multiple properties separately?

  • source
  • parent
  • hideshow 2 child comments
  • [+] 2 points 2 years ago* (last edited 2 years ago) (1 child)
  • [–] 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.

  • source
  • parent
  • [–] 1 point 3 years ago (1 child)

    This is actually pretty genius, why haven't ever thought of that?

  • source
  • parent
  • hideshow 2 child comments