3 ms·
Personal opinion: putting comments in the data is a smaller sin than putting data in comments. More information @ https://news.ycombinator.com/item?id=3912149 h
by aaron-santos 6y ago
Personal opinion: putting comments in the data is a smaller sin than putting data in comments. More information @ https://news.ycombinator.com/item?id=3912149 https://news.ycombinator.com/item?id=3912149
- amelius 6y agoOk, but would you prefer: [1, 2, 3, 3.14159, "comment: Pi!!", 4, 5, 6, 7, 8] over: [1, 2, 3, 3.14159 /* Pi!! */, 4, 5, 6, 7, 8]
- aaron-santos 6y agoI'm more interested in the implications of picking these examples than the examples themselves. Hope that makes sense.
- amelius 6y agoHow about: [1, 2, 3.5 /* faster, use 3 for more stability */, 4]
- aaron-santos 6y agoI don't want all the baggage that comes with accepting that option including people who then put parsing directives inside comments. You seem like an intelligent person. Maybe you could come up with a JSON-compatible way to include comments.