Y
Hacker News
new
|
ask
|
show
|
jobs
by
kaba0
1355 days ago
I could probably look it up myself, but does EDN support comments?
1 comments
dimitar
1355 days ago
Yep, two types in fact, line comments with ; and a discard sequence - you can tag code that is read (so it must be correct), but then discarded. We have edn files that are well documented with comments.
https://github.com/edn-format/edn#comments
link
kaba0
1355 days ago
I thought so — then it is strictly better than JSON.
link
https://github.com/edn-format/edn#comments