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,a0be06fbc0dd71f1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newscon02.news.prodigy.net!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: The future of Ada is at risk Date: Sat, 05 Jan 2008 10:46:23 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <20071229040639.f753f982.coolzone@it.dk> <87d4sg372q.fsf@ludovic-brenta.org> <1pb4s8untit3q$.qze96ty5hmxc.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1199547983 24375 192.74.137.71 (5 Jan 2008 15:46:23 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 5 Jan 2008 15:46:23 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:BfnYHR8RGreLRguJKNHfuuQ1Zxc= Xref: g2news1.google.com comp.lang.ada:19218 Date: 2008-01-05T10:46:23-05:00 List-Id: "Dmitry A. Kazakov" writes: > On Sat, 05 Jan 2008 10:16:00 -0500, Robert A Duff wrote: >> The complaint about exceptions is valid. > > Yes, it could be better. Though I don't think that exceptions should of any > type as they are in C++. Yes, I agree. >> I don't understand the complaint about constructors -- Ada 2005 is >> pretty good in this area (better than C++, IMHO). > > People complain that there is no user-defined initialization, safe, and for > all types. (Ada.Finalization hack does not count.) What's wrong with initializing objects with function calls? It has advantages over the C++ way, and I don't see the disadvantage(s). >> I'm not sure I understand the finalization issue. > > Same as initialization. I don't get it. - Bob