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,aae01e0853bff01c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-15 16:26:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!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: Should MI be supported (was: Can MI be supported?) 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:26:41 GMT NNTP-Posting-Host: 65.110.133.134 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.atl.earthlink.net 1063668401 65.110.133.134 (Mon, 15 Sep 2003 16:26:41 PDT) NNTP-Posting-Date: Mon, 15 Sep 2003 16:26:41 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:42548 Date: 2003-09-15T23:26:41+00:00 List-Id: Lionel.DRAGHI@fr.thalesgroup.com writes: > We use simple inheritance. We use mixin (and never run into case where > mix-in needs to access the whole), We didn't use multiple views (but > this is possibly due to design pratices). And, for now, I have never > encountered a "true" case of MI (there is more than half a million Ada > lines). In my experience multiple views are more useful than mixins, but YMMV. > Thats why i think Ada 95 was well designed, by addressing the most common > needs : simple inheritance and mixins. > Mutiple views idiom translate awkwardly in current Ada, but who cares? It's > not useful enough to add some new cleaner syntax to the language for now. > The important thing is that there is at least an idiom. I disagree with both of your statements that the "syntax is awkward" and that multiple views aren't "useful enough," but agree that it does get the job done. (I like the multiple views idiom, and I don't think it gets used enough because many programmers don't really understand it, or how to do it.)