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 08:02:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!namche.sun.com!news1brm.central.sun.com!new-usenet.uk.sun.com!not-for-mail From: olehjalmar kristensen - Sun Microsystems - Trondheim Norway Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? Date: 08 Sep 2003 16:55:42 +0200 Organization: Sun Microsystems Inc., http://www.sun.com/ Message-ID: References: <3F5B8084.5080705@attbi.com> <20030908103535.29112320.falis@verizon.net> NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1063032942 21120 129.159.112.195 (8 Sep 2003 14:55:42 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 8 Sep 2003 14:55:42 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:42280 Date: 2003-09-08T14:55:42+00:00 List-Id: >>>>> "EF" == Ed Falis writes: EF> On Sun, 07 Sep 2003 19:01:48 GMT EF> "Robert I. Eachus" wrote: >> There is a proposal for Ada 200X to add interfaces to Ada. It has >> been extensively worked, and will almost surely be added. >> >> Why? Because intefaces are different from Ada generics and solve >> other problems. In particular adding interfaces to Ada allows derived >> types where the type inherits one parent type and adds one or more >> interfaces. >> The user must then provide explicitly declared subprograms to match >> any subprograms in the interfaces that are not provided by the parent >> type. (In the proposal you can inherit from only interfaces as well. >> But directly inheriting from only one interface is not that >> interesting a case.) EF> To get a feel for the real power of interfaces, check out "Working with EF> Objects" by Trygve Reenskaug. This is a book from the Smalltalk EF> community, but the concepts in it are broadly applicable. In EF> Reenskaug's approach, interfaces are similar to the "roles" he EF> describes. EF> - Ed The book is now available for download from the authors as a PDF file.