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-15 16:31:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread1.news.atl.earthlink.net.POSTED!not-for-mail Sender: mheaney@MHEANEYX200 Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? References: From: Matthew Heaney Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Sep 2003 23:31:08 GMT NNTP-Posting-Host: 65.110.133.134 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.atl.earthlink.net 1063668668 65.110.133.134 (Mon, 15 Sep 2003 16:31:08 PDT) NNTP-Posting-Date: Mon, 15 Sep 2003 16:31:08 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:42549 Date: 2003-09-15T23:31:08+00:00 List-Id: olehjalmar kristensen - Sun Microsystems - Trondheim Norway writes: > But this is not exactly what I was talking about. With MI, you may > inherit both interface and implementation, no need to write new code. > It's all about synthesising new object types from existing ones > without the straightjacket of single inheritance. The multiple views idiom in Ada95 doesn't preclude that at all. See my post on Mon, 15 Sep 2003, in which My_Object type "inherits" from two existing types. It inherits both interface and implementation, and the only new code I wrote was for trivial multiple views infrastructure.