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,4cb1f8d1c17d39a8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.0.170 with SMTP id 10mr4518916pbf.2.1320255471052; Wed, 02 Nov 2011 10:37:51 -0700 (PDT) Path: p6ni63400pbn.0!nntp.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada 'hello world' for Android; success! Date: Wed, 02 Nov 2011 13:37:50 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <8239efcjuw.fsf@stephe-leake.org> <98ca5430-aa52-4e39-b789-70d0dd6adb46@d33g2000prb.googlegroups.com> <824nyrq5p6.fsf@stephe-leake.org> <4eac1ca1$0$7625$9b4e6d93@newsspool1.arcor-online.net> <82mxciogt0.fsf@stephe-leake.org> <4eafbc25$0$6575$9b4e6d93@newsspool3.arcor-online.net> <82mxcemscg.fsf@stephe-leake.org> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1320255470 374 192.74.137.71 (2 Nov 2011 17:37:50 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 2 Nov 2011 17:37:50 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:buI9dBEefQ7t5zjT8CTEDKSrM5E= Xref: news2.google.com comp.lang.ada:14279 Content-Type: text/plain; charset=us-ascii Date: 2011-11-02T13:37:50-04:00 List-Id: Stephen Leake writes: > But in general, the 'super' keyword in Java is a nice feature. There has > been discussion of adding that feature to Ada; I forget what the problem > was that ended up killing it. I don't remember, either. I can't think of any fatal flaws right now. You would need to deal with the fact that a private type can have a different parent from the corresponding full type. Without this feature, you can use a coding convention: subtype Parent is T1; type T2 is new Parent with ...; and then convert to Parent. - Bob