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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!4988f22a!not-for-mail From: Newsgroups: comp.lang.ada References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <1111607633.301232.62490@z14g2000cwz.googlegroups.com> <4793664.vi5Yol0h1t@linux1.krischik.com> <1111682141.541662.113720@o13g2000cwo.googlegroups.com> Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: NNTP-Posting-Host: 64.164.117.46 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr13.news.prodigy.com 1111689701 ST000 64.164.117.46 (Thu, 24 Mar 2005 13:41:41 EST) NNTP-Posting-Date: Thu, 24 Mar 2005 13:41:41 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: TSU[@SBEQJV]SQ@[EZOD]_\@VR]^@B@MCPWZKB]MPXHTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Thu, 24 Mar 2005 18:41:41 GMT Xref: g2news1.google.com comp.lang.ada:9925 Date: 2005-03-24T18:41:41+00:00 List-Id: "Jerry Coffin" wrote in message news:1111682141.541662.113720@o13g2000cwo.googlegroups.com... > > While bounded vs. unbounded strikes me as a reasonable distinction, I'm > not at all convinced that two separate string classes are necessary to > accomplish it. > I love my Swiss Army pocket knife. I have one of the little ones for daily use. It includes a scissors, a flatblade screwdriver, a small knife, a toothpick, a tweezers, and a little ball-point pen. For emergencies, it is really useful. For serious work, I tend to dislike all-in-one tools. If I have the choice between a socket wrench of exactly the right size, I will select that instead of one of the many adjustable wrenches in my toolbox. The long-cherished notions of cohesion and coupling come into play when building software. I like components that do one thing well, and do not need all kinds of adjustment to make them reliable. The bounded strings package has very unique properties that are not required for unbounded strings. Unbounded strings, especially their implementation, are quite different from bounded strings. I actually prefer being able to pick the right tool for the job at hand. As for the Swiss Army Knife analogy, I also like special-purpose languages for some applications. It always comes down, in the final analysis, to picking the right tool for the right job. Richard Riehle