[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PROPOSAL] Drop XML from .svn/entries

From: John Peacock <jpeacock_at_rowman.com>
Date: 2006-04-07 19:36:22 CEST

Greg Hudson wrote:
> On Fri, 2006-04-07 at 00:53 +0100, Julian Foad wrote:
>> Is this format that you are playing with one that you made up? Introducing Yet
>> Another File Format is a bad thing in general, however simple it seems to be.
>> There is significant but unquantifiable value in using a standard format.
>
> I think this argument is overblown. A file format which appears to be
> simple often really is, and the code necessary to parse it is often less
> than the code necessary to interface to an XML library.

I have to agree. Although it isn't that common, one of my first programming
jobs involved a package (warehouse/order entry system) that spewed
pipe-delimited as its default output. The one big advantage was that the pipe
character was not used in the data itself, so there was never any escaping to
worry about. Here, we don't have that luxury, but it is much simpler to split
on a single character (modulo escapes) than any other file format. Human
readability can easily be produced with a quick one-liner in the scripting
language of your choice.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 7 19:36:38 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.