.yaml, .toml, etc?

You are viewing a single thread.
View all comments View context
12 points
*
Deleted by creator
permalink
report
parent
reply
17 points

You disgust me

permalink
report
parent
reply
1 point

How do you comment multiple properties separately?

permalink
report
parent
reply
2 points
*
Deleted by creator
permalink
report
parent
reply
1 point

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
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
1 point

I liked the idea to be honest. I can just call the entry “description” instead and all is good ^^

permalink
report
parent
reply

Experienced Devs

!experienced_devs@programming.dev

Create post

A community for discussion amongst professional software developers.

Posts should be relevant to those well into their careers.

For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:

Community stats

  • 11

    Monthly active users

  • 77

    Posts

  • 540

    Comments