4 ms·
- sometimes the schema is strict (and you might not be able to control it) - you might not be certain if you break something with such a comment (i.e. you have
by karlicoss 7y ago
- sometimes the schema is strict (and you might not be able to control it)
- you might not be certain if you break something with such a comment (i.e. you have to double check that all the "comment" fields are filtered)
- you're not geting highlighting from your text editor, it's easier to miss a comment
- you can't have a comment for a list item
Basically, you can leave the comments, but you're really discouraged to do so. Most people would just give up and not bother.
- worble 7y agoI think the real loss here is that with a # or // the person reading the file immediately knows this is a comment. This line won't be read by the interpretor, and it's purely here for me to read it, so I probably should do. The following however { "comment": "Some comment", ... } Suddenly I'm not sure if this is meant for me, or if it's actually a configurable state without going into the program itself and checking if it uses it.
- Ididntdothis 7y agoPutting a comment into the payload is just a terrible hack. this shouldn't be necessary,