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. -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
