| XML is an embarrassment. It solves no problem: not even the problem of agreeing on how to represent data. The only thing it does is give programmers something recognizable to fiddle with, however irrelevant to the problem it may be. Most religious wars in computer science hinge on matters of taste. If you prefer emacs to vi, maybe that's just your style. If you prefer PHP to Ruby, there may be several good reasons why. There is no such ambiguity in the case of XML. If you prefer XML to anything but XML, you don't know what you're talking about. You should have no say in anything that affects other programmers. We're in this mess because of the unforeseen popularity of the web. When the web was created, its designers chose a simple and not particularly good markup language. Then the web grew, and instead of everybody recognizing the language as bad and replacing it, we turned a blind eye to its faults and kept it around. The immense popularity of the web has glossed over all the deficiencies present in markup languages. People can't imagine that anything that built the internet might have something wrong with it. The internet is good, so anything that built the internet must be good as well. Markup language was ill-conceived. Generalizing it into XML was folly. How can you possibly take XML seriously? How do you squeeze an entire blog post out of it? Have you never bothered to look at the technology? The author is obviously capable of writing a coherent, well-thought out essay. Did he never stop and look at what he was doing and go, "This is a whole lot of shit!" |
If I have some data structures that I am trying to send from my C# windows app to your java unix app, how would you propose we do that?
With XML, we can easily agree and collaborate on a format and both of our languages have builtin libraries to extract the data we need.
Its easy to build and easy to debug.