From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2f2ae3c6286f407b X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Tokenizing a string in Ada Date: 2000/11/03 Message-ID: <8tvbv8$2a5$1@nnrp1.deja.com>#1/1 X-Deja-AN: 689376023 References: <20001103063537.25697.00000237@ng-mf1.news.cs.com> <8tuk98$c7k$1@nnrp1.deja.com> <3a030814@rsl2.rslnet.net> X-Http-Proxy: 1.0 x57.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Nov 03 21:50:35 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-11-03T00:00:00+00:00 List-Id: In article <3a030814@rsl2.rslnet.net>, "Tom Hargraves" wrote: > Many many many times I have seen Ada (and other) programmers saving > data structures in files, the more astute save them in human readable > form, unless there is a pressing performance hit. > > I have seen just as many different ways to save this data, from a > variety of tags, indenture, tuples etc. Is there not some standard way > of doing this? If there isn't should there be? One of my favorite quotes of the new era is, "The best thing about standards is that there are so many to choose from". In many cases CSV is an ideal format for tabular data. There's no offical ISO standard (that I know of), but its support is nothing short of awesome. Its understood by nearly every spreadsheet and database program, and by oddles of other data visualization and manipulation tools. Plus, its fairly human readable. Compare this with XML, which has a many dialects as developers, is only understood by a few newer tools, and is about as human-readable as C source code. Perhaps XML is a bit of a breakthrough for data that isn't table-based, but its not a panacea. I'd like to see someone submit XML recognizers for OpenToken, just so we can say we have it. But apparently no-one has felt the need to build it yet. CSV was one of the first things added. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.