comp.lang.ada
 help / color / mirror / Atom feed
From: Frederic Praca <frederic.praca@freebsd-fr.org>
Subject: Re: of possible interest
Date: Sun, 7 May 2006 22:37:01 +0200
Date: 2006-05-07T22:37:01+02:00	[thread overview]
Message-ID: <20060507223701.175e2ec9@localhost.darkstar> (raw)
In-Reply-To: 0gcs52lejunc5qar09mf2mng2kg8kumedk@4ax.com

Le Sun, 07 May 2006 17:56:15 GMT,
Dennis Lee Bieber <wlfraed@ix.netcom.com> a écrit :

> On Sun, 07 May 2006 14:54:47 +0200, Ludovic Brenta
> <ludovic@ludovic-brenta.org> declaimed the following in comp.lang.ada:
> 
> > 
> > - 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...
> 
> 	begin
> 		dummy := 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  



  parent reply	other threads:[~2006-05-07 20:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 19:05 of possible interest Marco
2006-05-04 19:26 ` Ludovic Brenta
2006-05-04 23:30   ` Georg Bauhaus
2006-05-05  2:49     ` Ed Falis
2006-05-05 14:40     ` Ludovic Brenta
2006-05-07  7:46   ` Nasser Abbasi
2006-05-07 11:50     ` Larry Kilgallen
2006-05-07 12:54     ` Ludovic Brenta
     [not found]       ` <0gcs52lejunc5qar09mf2mng2kg8kumedk@4ax.com>
2006-05-07 20:37         ` Frederic Praca [this message]
2006-05-07 22:25           ` Georg Bauhaus
2006-05-08  7:26             ` Ludovic Brenta
2006-05-09  0:41             ` Robert A Duff
2006-05-11 22:25               ` David Emery
2006-05-12 15:45                 ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox