XML is simpler than JSON. Discuss.
-
-
Replying to @wycats
1. XML has an infoset, and JSON does not. This makes JSON simpler. 2. JSON has dicts, XML has attributes. 3. XML requires encodings.
2 replies 0 retweets 3 likes -
-
Replying to @wycats
yes, but see 3. No one has to encode attributes in JSON.
3 replies 0 retweets 0 likes -
Replying to @samth
I think you're cheating quite a bit re JSON. Recall that the JSON spec intentionally elides semantics, therefore no infoset.
2 replies 0 retweets 0 likes -
Replying to @wycats
I was just having this argument today. Lack of semantics is both simpler and a necessary part of JSON's success.
1 reply 0 retweets 3 likes -
Replying to @samth
lack of semantics gives you Worse is Better but it's a shell game around simplicity.
1 reply 0 retweets 1 like -
Replying to @wycats
No, lack of semantics lets you choose your own semantics. Like untyped languages let you choose your own type system.
2 replies 1 retweet 2 likes
probably also useful to count number of types ("number" w/o defined deciding, string w/ unpaired surrogates, null?!, array, obj)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.