This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: closures for GOOPS privates
Hello,
Jost> Think about a vehicle that is both a boat and a land
Jost> vehicle. I will bring other real examples tomorrow.
I know the vehicle...
Jost> Also I don't understand why you think that piano and bike
Jost> are two "conflicting classes".
I meant "conflicting" in the most practical way... They both have a
pedals that do different things and you must rename features to
inherit from both classes. To my mind that means there is an
ambiguity and the OOA needs work.
Personally, I'd to see a bike with a piano mounted on back (with
somebody else to pedal each). Even still, a "piano bike" should
probably inherit from "bike" and contain a "piano", or the other way
around.
Cheers,
Clark