The JSON vs XML debate begins in earnest

  After seeing  Douglas Crockford’s talk on JSON at XML 2006 recently, I figured that some sort of great debate between XML and JSON advocates was brewing.  I had been waiting for Elliotte Harold’s rebuttal of what Crockford is missing, but haven’t seen it yet.  What has happened is that Dave Winer got off a …


Potential at the Trailing Edge

Lots of people linked to the happy news last week that Jon Udell was joining Microsoft, so I didn’t bother.  I have previously recommended  his great interview with Anders Hejlsberg.  This is a clear, concise, hands-on demonstration of LINQ (including LINQ to XML) that feels like Anders stopped by your office to explain it in person.  I…


The Model T and the Prius: Simplicity vs Complexity, yet again

My favorite conundrum, the difficulty of being simple, pops up everywhere I look these days.  OpenXML document format vs the Open Document Format Point: OpenXML is so complex no one else can implement it. Counterpoint: Its complexity is due to the existing features of MS Office, which are reflected in the old binary format and faithfully preserved…


XML 2006 Observations

I could only attend half the conference due to a family health issue, but here are some thoughts on what I did see.  The links are mainly to the conference program; I believe the entries will eventually link to the actual presentation slides and submitted papers. Roger Bamford’s keynote  spent much time showing how the…


Rough Spots in the LINQ to XML Learning Curve

[minor editorial updates 11/13]  We’ve been doing some formal usability testing on all the LINQ components over the last couple of months and have learned a lot about what people find challenging. The results have generally validated LINQ’s story as a common programming model for all types of data, but they’ve also identified some things…


Declarative vs Imperative Streaming Input in LINQ to XML

Oleg Tkachenko has a nice post comparing the StAX (java) and XmlReader (.NET and XmlLite) approaches to streaming over a potentially large XML data source and filtering out unwanted elements.  He concludes: if you work with StAX you can readily work with .NET XmlReader and the other way. Great unification saves hours learning for developers….


Using LINQ to XML Annotations – tracking line numbers

[updated to escape the code so that it displays properly in HTML, and so that it gracefully handles input with an XML declaration] Several people have asked for a feature in LINQ to XML that would keep track of the line number in an XML data source from which each node was parsed.  We have…


Not having to choose between a big ecosystem and cutting edge features

Joel Spolsky has an interesting post on the Language Wars — the permanent debate among those who think their currently preferred programming language is the best.  He drew some heat from the blogosphere because he advocates a pragmatic approch for others … Lisp and OCaml and lots of other languages …are totally, truly brilliant programming languages worthy of…


Brian Beckmann on LINQ underpinnings – Bringing functional programming to "Mort"

Brian Beckmann has a Channel 9 interview in which he describes operating as a “Mort” programmer during his academic cosmology career.  You might think that  someone who programs to solve real day job problems in the most expedient way possible wouldn’t want to think about type theory, monoids/monads, or functional vs imperative programming styles, but Brian might…


More LINQ to XML examples from the real world

A few weeks ago I pulled together a post on LINQ to XML in action .  I came across a couple more very nice examples over the weekend.  One is from the LINQ Project forum. A question was posed asking about a clean way to to load a structured text file such as a logfile…