[Python-3000] Abilities / Interfaces
greg.ewing at canterbury.ac.nz
Thu Nov 23 02:26:15 CET 2006
Gustavo Niemeyer wrote:
> With interfaces, all you need to do is define an adapter from Apple
> to IFruit, and instantly all the widely available frameworks will
> be handling apples just fine.
I don't quite see how that works. Where exactly is
the adaptation supposed to be done? It can't be done
in libapple, because libfruit didn't exist when it
was written. Is libfruit supposed to adapt everything
it's given to IFruit just in case it's necessary?
That seems like a lot of extra work to go to, both
at coding time and run time, for no immediate benefit.
More information about the Python-3000