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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-03 18:49:59 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc04.POSTED!not-for-mail Message-ID: <3F7E2740.1050703@comcast.net> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? References: <3F7AC5B0.9080108@noplace.com> <3F7B7641.9030908@noplace.com> <3F7C8482.20102@comcast.net> <3F7D69EA.5030707@noplace.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc04 1065232198 24.34.139.183 (Sat, 04 Oct 2003 01:49:58 GMT) NNTP-Posting-Date: Sat, 04 Oct 2003 01:49:58 GMT Organization: Comcast Online Date: Sat, 04 Oct 2003 01:49:58 GMT Xref: archiver1.google.com comp.lang.ada:190 Date: 2003-10-04T01:49:58+00:00 List-Id: Marin David Condic wrote: > ...I'm not compatible with Text_IO or other things > without a conversion and I'd bet dollars to doughnuts that most database > interfaces are going to make you read/write a String rather than a > Bounded_String - so you've got type conversion hassle again there anyway. I totally agree! ;-) But if you use a database interface that uses Bounded_Strings for such datatypes then youy wrap it all up in one package and instantiate that to get everything. The advantaga, again is when you have queries that return an array of whatever. An array of some instance of Bounded_String is much easier to work with than an array of records, containing both name length and a String. -- Robert I. Eachus "Quality is the Buddha. Quality is scientific reality. Quality is the goal of Art. It remains to work these concepts into a practical, down-to-earth context, and for this there is nothing more practical or down-to-earth than what I have been talking about all along...the repair of an old motorcycle." -- from Zen and the Art of Motorcycle Maintenance by Robert Pirsig