links for 2010-11-24

November 25, 2010
  • <blockquote>
    <p>It's "Yay", because for important use cases JSON is dramatically better than XML. &nbsp;In particular, JSON shines as a programming language-independent representation of typical programming language data structures. &nbsp;This is an incredibly important use case and it would be hard to overstate how appallingly bad XML is for this. The fundamental problem is the mismatch between programming language data structures and the XML element/attribute data model of elements. This leaves the developer with three choices, all unappetising:</p><ul><li>live with an inconvenient element/attribute representation of the data;</li><li>descend into XML Schema hell in the company of your favourite data binding tool;</li><li>write reams of code to convert the XML into a convenient data structure.</li></ul><p>By contrast with JSON, especially with a dynamic programming language, you can get a reasonable in-memory representation just by calling a library function.</p>
    </blockquote>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: