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,aa955fc1adc2b46d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: of possible interest From: Georg Bauhaus In-Reply-To: <20060507223701.175e2ec9@localhost.darkstar> References: <1146769504.421510.21010@j73g2000cwa.googlegroups.com> <8764klwpz5.fsf@ludovic-brenta.org> <87u082ouzs.fsf@ludovic-brenta.org> <0gcs52lejunc5qar09mf2mng2kg8kumedk@4ax.com> <20060507223701.175e2ec9@localhost.darkstar> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Organization: # Message-ID: <1147040746.9037.12.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Date: Mon, 08 May 2006 00:25:46 +0200 NNTP-Posting-Date: 08 May 2006 00:24:59 MEST NNTP-Posting-Host: e041491c.newsread2.arcor-online.net X-Trace: DXC=WVm48G;RQdg<_V8dMIHdjhQ5U85hF6f;djW\KbG]kaMh[NGU2GAcMGjl>l[L On Sun, 2006-05-07 at 22:37 +0200, Frederic Praca wrote: > Le Sun, 07 May 2006 17:56:15 GMT, > Dennis Lee Bieber a =C3=A9crit : >=20 > > On Sun, 07 May 2006 14:54:47 +0200, Ludovic Brenta > > declaimed the following in comp.lang.ada: > >=20 > > >=20 > > > - Java allows programmer to ignore the return value of functions. > > > What if the return value was important? This is unsafe. > > > > > Off-hand -- this is a wash... Ada requires one to /account > > for/ the presence of the return value, but it can still be just as > > easily ignored... > >=20 > > begin > > dummy :=3D some_function(some_argument); > > -- dummy is never made use of; effectively > > ignored end; > Yes but in this case, everybody knows you explicitly ingore the > return value, you didn't forget it by mistake. Does anyone know how relevant this is in practice, given in mistakes per product, or increased development cost?