| Store | Cart

Python to XML to Python conversion

From: Alex Martelli <ale...@aleax.it>
Fri, 12 Jul 2002 08:01:36 GMT
Jeremy Bowers wrote:
        ...
> the choice of *last* resort, when you absolutely *need* easy parsing in> multiple languages or environments and can't get it any other way. It is

I think this assertion, as it stands, is untenable.  There just about
IS *some* other way -- e.g., inventing your own little language for
data description and writing from scratch the needed parsers in all
languages and environments of interest.

Are you SERIOUSLY claiming that such reiterated reinventions of the
wheel -- which were a good part of the data interchange "state of the
art" before XML appeared -- should be used in preference to XML?!

Similar comments apply to most traditional ways of data interchange
in heterogeneous environments -- overextensions of simplistic formats
such as CSV, empirically-determined parsing and heuristics for
unspecified and underspecified proprietary and human-oriented formats,
rigid and unportable binaries.  XML is generally preferable to any
of these traditional kludges, even though one or more of them most
often IS available and thus breaks your dubious criterion of "can't
get it in any other way".

Apparently, the ridiculous over-hype that has greeted XML in parts
of the media (including much non-technical media) is triggering an
allergic reaction of similarly-ridiculous hostility.  On one side
we see abuses such as XML files used where (e.g.) relational DB's
would be the obvious solution, on the other, broadsides such as
this one definitely appears to be.

Fortunately, there's a lot of us engineers in the middle, applying
skeptical, field-tested "filters" to media hype AND other overbroad
tirades.  XML is often a good choice for heterogeneous-environment data 
interchange -- far from being "the choice of *last* resort" for such
tasks, it's generally a good default choice unless some obviously
better alternative is evident.  For tasks that are borderline cases
of "heterogeneous data interchange", such as storing and retrieving
(or communicating) data among a set of programs that aren't really
all that heterogeneous, XML should still be considered when ability
to examine and potentially tweak the stored data with other programs
is of interest, and the costs wrt proprietary or language-specific
formats (in terms of time and/or space) aren't out of line with the
potential benefits.


Alex

Recent Messages in this Thread
Mark Jul 12, 2002 12:08 am
Harry George Jul 12, 2002 12:01 am
theh...@binary.net Jul 12, 2002 01:22 am
Jeremy Bowers Jul 12, 2002 03:01 am
Peter Hansen Jul 12, 2002 03:41 am
Oren Tirosh Jul 12, 2002 05:54 am
Erik Max Francis Jul 12, 2002 08:16 am
Tim Rowe Jul 12, 2002 04:37 pm
François Pinard Jul 12, 2002 02:49 pm
Peter Hansen Jul 12, 2002 04:08 pm
Jeremy Bowers Jul 12, 2002 02:52 pm
Huaiyu Zhu Jul 12, 2002 05:45 pm
holger krekel Jul 13, 2002 02:55 pm
Huaiyu Zhu Jul 15, 2002 06:04 pm
holger krekel Jul 16, 2002 01:18 pm
Clark C . Evans Jul 16, 2002 06:27 pm
Steve Howell Jul 16, 2002 06:31 pm
Huaiyu Zhu Jul 16, 2002 10:14 pm
Clark C . Evans Jul 17, 2002 01:30 am
James Kew Jul 17, 2002 10:52 pm
François Pinard Jul 18, 2002 11:11 am
Huaiyu Zhu Jul 18, 2002 06:10 pm
Huaiyu Zhu Jul 18, 2002 06:36 pm
Matt Gerrans Jul 12, 2002 07:03 am
Jonathan Hogg Jul 12, 2002 08:07 am
Clark C . Evans Jul 13, 2002 12:29 am
Alex Martelli Jul 12, 2002 08:01 am
Jeremy Bowers Jul 12, 2002 02:55 pm
Jeremy Bowers Jul 12, 2002 03:53 pm
Terry Reedy Jul 12, 2002 02:03 am
David Mertz, Ph.D. Jul 15, 2002 02:49 pm
Alex Martelli Jul 12, 2002 02:03 pm
Jonathan Hogg Jul 12, 2002 03:11 pm
Cameron Laird Jul 12, 2002 01:35 pm
Cameron Laird Jul 12, 2002 01:27 pm
Alex Martelli Jul 12, 2002 08:37 am
Doru-Catalin Togea Jul 12, 2002 09:43 am
Jonathan Hogg Jul 12, 2002 01:44 pm
François Pinard Jul 12, 2002 02:37 pm
Mike C. Fletcher Jul 12, 2002 04:56 pm
Jeremy Bowers Jul 12, 2002 03:00 pm
Tim Rowe Jul 12, 2002 04:37 pm
Messages in this thread