comp.lang.ada
 help / color / mirror / Atom feed
From: Lionel.DRAGHI@fr.thalesgroup.com
To: comp.lang.ada@ada.eu.org
Subject: RE: Should MI be supported (was:  Can MI be supported?)
Date: Tue, 16 Sep 2003 13:57:20 +0200
Date: 2003-09-16T13:57:20+02:00	[thread overview]
Message-ID: <mailman.5.1063713558.302.comp.lang.ada@ada.eu.org> (raw)



| -----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




             reply	other threads:[~2003-09-16 11:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 11:57 Lionel.DRAGHI [this message]
2003-09-17  3:36 ` Should MI be supported (was: Can MI be supported?) Matthew Heaney
2003-09-17 18:16   ` Hyman Rosen
  -- strict thread matches above, loose matches on Subject: below --
2003-09-18  8:25 Lionel.DRAGHI
2003-09-16  8:16 Lionel.DRAGHI
2003-09-16 11:02 ` Matthew Heaney
2003-09-17  3:12   ` Robert I. Eachus
2003-09-17  3:25     ` Matthew Heaney
2003-09-17 10:36     ` Lutz Donnerhacke
2003-09-23  8:44       ` Robert I. Eachus
2003-09-15 17:15 Lionel.DRAGHI
2003-09-15 23:26 ` Matthew Heaney
2003-09-16 16:23 ` Mário Amado Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox