comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: record extension aggregate for returned type legal?
Date: Fri, 15 Oct 2004 18:51:58 +0200
Date: 2004-10-15T18:51:58+02:00	[thread overview]
Message-ID: <4001254.V1HWESuQfx@linux1.krischik.com> (raw)
In-Reply-To: 87ekk0hvfq.fsf@beeblebrox.rfc1149.net

Samuel Tardieu wrote:

>>>>>> "Jean-Pierre" == Jean-Pierre Rosen <rosen@adalog.fr> writes:
> 
> Jean-Pierre> Normal people trust the compiler, and just try it.
> 
> You're kidding, right? I can't believe you encourage people to code
> this way, by changing the code at random until it works.

Well in Ada thats quite Ok. If you do something syntacticly silly the
compiler will shout at you.

We where talking about syntax details here here. The use of "return
(n=> ...)" compared to "return T'(n => ...) ". Which is better which isn't.

And in Ada experiments like this give you an compiler error and not faulty
code like in some other languages ;-) .

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




  parent reply	other threads:[~2004-10-15 16:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-12  1:31 record extension aggregate for returned type legal? Georg Bauhaus
2004-10-12  8:04 ` Martin Krischik
2004-10-12 14:36   ` Georg Bauhaus
     [not found]     ` <1940150.rU8f1KaX3L@linux1.krischik.com>
2004-10-12 20:24       ` Georg Bauhaus
2004-10-13  7:52         ` Martin Krischik
     [not found]           ` <ckjlhm$2hh$1@a1-hrz.uni-duisburg.de>
     [not found]             ` <ukhbd.106086$dP1.396181@newsc.telia.net>
2004-10-14  0:29               ` Is T an ancestor of T? Georg Bauhaus
2004-10-14  8:54             ` Is T an ancestor of T? (was: Re: record extension aggregate for returned type legal?) Martin Krischik
     [not found]               ` <ckot3m$hek$1@a1-hrz.uni-duisburg.de>
2004-10-15 16:55                 ` Is T an ancestor of T? Martin Krischik
2004-10-15 17:19                   ` Georg Bauhaus
2004-10-16 14:37                     ` Martin Krischik
2004-10-13 16:18       ` record extension aggregate for returned type legal? Jean-Pierre Rosen
     [not found]         ` <87ekk0hvfq.fsf@beeblebrox.rfc1149.net>
2004-10-15 16:51           ` Martin Krischik [this message]
     [not found]           ` <t7tokc.2he.ln@skymaster>
2004-10-15 17:22             ` Georg Bauhaus
2004-10-14 20:04       ` Simon Wright
replies disabled

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