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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-08 11:35:14 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: aek@vib.usr.pu.ru (Alexander Kopilovitch) Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? Date: 8 Sep 2003 11:35:12 -0700 Organization: http://groups.google.com/ Message-ID: References: <3F5B8084.5080705@attbi.com> NNTP-Posting-Host: 62.152.82.162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1063046113 11997 127.0.0.1 (8 Sep 2003 18:35:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 8 Sep 2003 18:35:13 GMT Xref: archiver1.google.com comp.lang.ada:42286 Date: 2003-09-08T18:35:13+00:00 List-Id: Russ wrote: > now I'm even more confused. Mr. Rosen > claimed that Java interfaces provide all the functionality of Ada spec > files (.ads files). Actually he did not say that much, > If Mr. Rosen is correct, then after > Ada gets interfaces, the spec (.ads) files will be redundant and no > longer really needed. I'm just a simple-minded aerospace engineer. Am > I missing something here? Ada specs contains much more than Java interfaces; and proposed Ada interfaces may be vaguely compared with Java interfaces. It is well-known fact that the notion of interface is very similar to the notion of (pure) abstract class/type, which Ada already have; the essence (for user) of proposed addition is that restricted multiple inheritance will be permitted through these new interfaces: you still can't use more than one "normal" type as the parent, but you may at the same time inherit *subroutine specifications* from several abstract types, providing implementation of those subroutines within implementation of your type. Alexander Kopilovitch aek@vib.usr.pu.ru Saint-Petersburg Russia