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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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-16 05:00:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!teaser.fr!enst.fr!not-for-mail From: Lionel.DRAGHI@fr.thalesgroup.com Newsgroups: comp.lang.ada Subject: RE: Should MI be supported (was: Can MI be supported?) Date: Tue, 16 Sep 2003 13:57:20 +0200 Organization: ENST, France Message-ID: NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 1063713565 88175 137.194.161.2 (16 Sep 2003 11:59:24 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 16 Sep 2003 11:59:24 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:42569 Date: 2003-09-16T13:57:20+02:00 | -----Message d'origine----- | De: Matthew Heaney [mailto:matthewjheaney@earthlink.net] ... | Did I think Bob's translation was very natural? Not really, no. | _ That's where we differ. I feel much more confortable with Bob's translation, because Colorable is not an object, it's a "properties". My_Adapter is an Adapter, so inheritance apply. My_Adapter is not a "colorable", so i won't inherit from some colorable class. Neither is "Colorable" a particular "role" of an Adapter. It's just a characteristic (note that Colourable is an adjective, Adapter is a noun), and so i use a Mixin. You may perfectly use multiple views if you feel better with it. Hyman choose MI instead of (templates + SI) because the code was simpler to write. But in my opinion, mixin translate better the problem description. -- Lionel Draghi