Doug LaRue wrote:

I've heard this over and over as if there is no good use for XML but let
me throw out my $.001, use the tool which works for you.

I loathe XML.  However, I use it a *LOT*.

That means I use it for practically every persistent store that I write, data format that I create, or static configuration file I need.

Now, I've moved away from XML static configuration files simply because I now tend to import/source the config file and it's just easier for it to be a full-blown Python file as it is XML (and then I don't have to parse the stupid thing).

I also will consider moving away from XML once performance becomes an issue. XML is not good for read-write operations. Once that becomes a bottleneck, I'll go hunt something else.

However, this means that I tend to use XML for an awful long time.

XML handles a lot of things *right*. Unicode is good. Named closing delimiters have some nice advantages. It handles tree structures from the start. It handles character escaping correctly--a task which *everyone* seems to get wrong in the first 10 versions of a format. The XML API's actually do most of the hard parsing garbage for you. XML API's exist in practically every language of any usefulness. And everybody now seems to use XML by default.

Those are not things which should be ignored lightly.

-a

--
KPLUG-LPSG@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to