Toot

Written by Pomax on 2025-01-25 at 17:35

I still think Crockford did the #JavaScript world the biggest disfavour by going "comments don't belong in JSON".

Like, do comments belong in any data interchange format? No, of course not.

And is JSON a data interchange format? Sure.

But is JSON only a data transport format? Just like literally every text based data interchange format : No, of course not. This was already obvious from day one.

And so the only option is to add not-trivially-ignored data into JSON to get that text in.

=> More informations about this toot | View the thread | More toots from TheRealPomax@mastodon.social

Mentions

Tags

=> View javascript tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113890198804840996
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
220.643496 milliseconds
Gemini-to-HTML Time
0.372716 milliseconds

This content has been proxied by September (3851b).