--- On Thu, 25/6/09, Andy Owen <[email protected]> wrote:
> If HTML was based on JSON, it would be somewhat ugly, and I
> think an
> XMLish like thing suits it well.
Yes, but we're not talking about displaying html, and in fact most people
snubbed xhtml and it virtually doesn't get used at all, so it doesn't seem to
be a good choice for that either ;)
> The big reason that XML gets used everywhere is because it
> gets used
> everywhere :). If a language didn't have a JSON library and
> an XML
> library, the XML one would get written first. So even
> though it is a
> clumsy language for lots of things, it is at least a clumsy
> standard
> language.
I find XML parsing to be one of the most convulted things to do in general,
there isn't a single parser that does it as well as JSON parsers do, then again
JSON is basically a blob of memory shared between applications instead of a DB
interchange language.
_______________________________________________
Talk-au mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-au