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,104df2b9b7a2f689 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!news.belwue.de!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Interfaces Date: Mon, 16 May 2005 21:27:37 +0200 Message-ID: <877jhz0y52.fsf@deneb.enyo.de> References: <8764xj9wzf.fsf@deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: albireo.enyo.de 1116271661 24899 212.9.189.177 (16 May 2005 19:27:41 GMT) X-Complaints-To: Cancel-Lock: sha1:S9wK8RXYzOMg/q+VfmbUmS4IdAE= Xref: g2news1.google.com comp.lang.ada:11047 Date: 2005-05-16T21:27:37+02:00 List-Id: * Robert A. Duff: > But the main argument against solving this problem is that it would > introduce a huge amount of complexity to solve a fairly rare problem. > I was pretty-much convinced by that. Maybe it wouldn't be too complicated to add a way to specify the interface which you are overriding? Something like "overriding J1 procedure Foo"? This would result in an error message if Foo also overrode a subprogram inherited from T or J2. > Ada's interfaces were modeled primarily after Java's interfaces, by the > way. I wasn't sure, after reading the Java language specification, if Java interfaces had the same problem. 8->