Zac on Nostr: npub1utv8f…287lr My take: I think they're all kinda bad for human use. - XML is ...
npub1utv8fr27ca4hvjes9y9wt9uev2u6hnwsdjf7wf6dlwpycknjajtq7287lr (npub1utv…87lr) My take: I think they're all kinda bad for human use.
- XML is very powerful, but, it’s for machines, only human readable for debugging/last resort
- XML is better than YAML but only because YAML is just so terrible, a stricter YAML variant would easily beat XML
- TOML is better than YAML, but, still has some UX issues as a human-facing tool (mainly confusing syntax)
- JSON has some of the same problems as XML and YAML for human facing use, even worse that it lacks comments
Published at
2023-09-20 18:49:45Event JSON
{
"id": "d38c467c9d4e821c3d767fb2dc0039ec991ddfe838a7510c8421e9f93a0a80ef",
"pubkey": "61cf33b761d5a5d9ab4d444ae28914e52129b7e5a5fd13d98cfd3b78131ce878",
"created_at": 1695235785,
"kind": 1,
"tags": [
[
"p",
"e2d8748d5ec76b764b30290ae5979962b9abcdd06c93e7274dfb824c5a72ec96",
"wss://relay.mostr.pub"
],
[
"p",
"a6c37c8f2c173283b15f869f9154d6a5482a971c331584ab0aa282570e7f7116",
"wss://relay.mostr.pub"
],
[
"e",
"4ea717d998994592bfacd8859e12ec68175cd4c445e6744623b0aa7ad1c7df21",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://hachyderm.io/users/ztj/statuses/111098972448181453",
"activitypub"
]
],
"content": "nostr:npub1utv8fr27ca4hvjes9y9wt9uev2u6hnwsdjf7wf6dlwpycknjajtq7287lr \n\nMy take: I think they're all kinda bad for human use.\n\n- XML is very powerful, but, it’s for machines, only human readable for debugging/last resort\n- XML is better than YAML but only because YAML is just so terrible, a stricter YAML variant would easily beat XML\n- TOML is better than YAML, but, still has some UX issues as a human-facing tool (mainly confusing syntax)\n- JSON has some of the same problems as XML and YAML for human facing use, even worse that it lacks comments",
"sig": "c0e06ebb6e25b9c6d6c7372d384b4f20d05269a76f12acdeabe5741d01bb6511f215399bc97b32a281a4cdb8f41e8bf5adc458c171c08e5b4405bf5d360da8f0"
}