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,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!proxad.net!oleane.net!oleane!skymaster!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request Date: Thu, 16 Sep 2004 10:01:12 +0200 Organization: Adalog Message-ID: References: <49dc98cf.0408110556.18ae7df@posting.google.com> <2cR0d.1623$IO5.1267@trndny04> <17sx057ro5jw5$.t2qlaeoxg611$.dlg@40tude.net> <1095082522.132276@master.nyc.kbcfp.com> <18ym85v67zof3$.7oqswzjfgswr.dlg@40tude.net> <1095090665.624419@master.nyc.kbcfp.com> <68zmgy3b894u.rs67cy6jjfiq$.dlg@40tude.net> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: s5.feed.news.oleane.net 1095322053 31462 195.25.228.57 (16 Sep 2004 08:07:33 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 16 Sep 2004 08:07:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.2) Gecko/20040803 X-Accept-Language: fr-fr, en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:3768 Date: 2004-09-16T10:01:12+02:00 List-Id: Kevin Cline a =E9crit : > It is a bit of a problem. Just like natural language composition, > there's a fine line between too brief, too verbose, and just right.=20 > In the table above, the interesting parts are X and "1", "12", and > "123". The three repetitions of To_Unbounded_String take up most of > the text while saying nothing of interest, and could be left out if > Ada supported implicit conversions at all. Perhaps Ada's prohibition > of implicit conversions was a reaction to the problems they caused in > FORTRAN and C programming. No doubt that FORTRAN and C got implicit > conversions mostly wrong, but that doesn't mean that they are always > bad. It's pretty obvious what it means to convert "1" to an unbounded > string. >=20 True, and that's precisely why the unary "+" is defined (and=20 redefinable) in the language. It provides a convenient way to make=20 conversion functions that are not totally hidden, but do not take too=20 much visibility in the text. At least, that's what I remember Ichbiah used to justify "+". --=20 --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr