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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,73057f1a3ca11607 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: record extension aggregate for returned type legal? Date: Fri, 15 Oct 2004 18:51:58 +0200 Organization: AdaCL Message-ID: <4001254.V1HWESuQfx@linux1.krischik.com> References: <1738418.atIT6LYH9Z@linux1.krischik.com> <1940150.rU8f1KaX3L@linux1.krischik.com> <4gkjkc.m56.ln@skymaster> <87ekk0hvfq.fsf@beeblebrox.rfc1149.net> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1097859368 02 29084 YHIRX-zJSdEF2-8 041015 16:56:08 X-Complaints-To: usenet-abuse@t-online.de X-ID: XKXi4rZAZelxYKTz4xAPr2JQ2RvMljhqG1X8egcHRyrignGr6h3CQv User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:5280 Date: 2004-10-15T18:51:58+02:00 List-Id: Samuel Tardieu wrote: >>>>>> "Jean-Pierre" == Jean-Pierre Rosen 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