XML is simpler than JSON. Discuss.
I think you're cheating quite a bit re JSON. Recall that the JSON spec intentionally elides semantics, therefore no infoset.
-
-
the semantics of json are charitably the JSON section OF ECMA262 (not small) and in practice lots of encoding/number incompat
-
XML doesn't have number issues because it doesn't have numbers. It's simpler in that respect, but not in syntax or usability.
End of conversation
New conversation -
-
-
I was just having this argument today. Lack of semantics is both simpler and a necessary part of JSON's success.
-
lack of semantics gives you Worse is Better but it's a shell game around simplicity.
-
No, lack of semantics lets you choose your own semantics. Like untyped languages let you choose your own type system.
-
works fine until GitHub chooses it's semantics and "simple" Ember code has to decide what to do with it.
-
JSON is used in public APIs with general purpose clients.
-
Sure, that's what's hard about not having semantics.
-
But it's the API that doesn't specify the semantics, not JSON. They were just pretending that JSON did the job for them.
-
and boom goes the dynamite.
- 10 more replies
New conversation -
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.