News for hackers. Stuff that matters.
Re:A Programming Language Database by codehex on Sunday August 28, 2022 @01:45AM (#32626080)
Interesting in "A Language Without Comments" post

> JSON is the only popular language in the PLDB without comments.

Re:A Programming Language Database by KronisLV on Sunday August 28, 2022 @05:02AM (#32626869)
> JSON is the only popular language in the PLDB without comments.

Some folks actually tried addressing that limitation (and some others) with JSON5: https://json5.org/

Though sadly it never really caught on outside of a few niche projects. At the same time, however, I've seen some projects out there also use JSONC or another non-standard version that adds comments, since clearly people want them: https://komkom.github.io/jsonc/

Re:A Programming Language Database by breck on Sunday August 28, 2022 @02:21AM (#32626224)
Perhaps a more accurate statement will end up being "the only formally defined popular language".

Some redditers pointed out that (traditional) CSVs also don't have a mechanism for comments.