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,ASCII Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!noris.net!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!nntpserver.swip.net!not-for-mail From: Frederic Praca Newsgroups: comp.lang.ada Subject: Re: of possible interest Message-ID: <20060507223701.175e2ec9@localhost.darkstar> References: <1146769504.421510.21010@j73g2000cwa.googlegroups.com> <8764klwpz5.fsf@ludovic-brenta.org> <87u082ouzs.fsf@ludovic-brenta.org> <0gcs52lejunc5qar09mf2mng2kg8kumedk@4ax.com> X-Newsreader: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sun, 7 May 2006 22:37:01 +0200 NNTP-Posting-Host: 83.179.128.199 X-Complaints-To: news-abuse@swip.net X-Trace: nntpserver.swip.net 1147034221 83.179.128.199 (Sun, 07 May 2006 22:37:01 CEST) NNTP-Posting-Date: Sun, 07 May 2006 22:37:01 CEST Organization: A Customer of Tele2 Xref: g2news2.google.com comp.lang.ada:4132 Date: 2006-05-07T22:37:01+02:00 List-Id: Le Sun, 07 May 2006 17:56:15 GMT, Dennis Lee Bieber a =E9crit : > 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. Fred =20