On Mon, Apr 08, 2002 at 08:57:09PM -0400, fabwash wrote: > My vote is "java" like: no MI, no aggregation, single inheritence and use of > interfaces :)
Could you please explain how interfaces promote code reuse? I am not the perfect java pro, and as I understand it, interfaces define a set of instance variables and methods that must be there in order to be compliant to an interface, but provide to way to import an implementation of such an interface into an existing class. Objective-C had interfaces, which were in fact such lists of instance variables and methods, and it had categories, which could be implementations of interfaces which could then be imported into a class (but could be used in other ways as well). Kristian -- Kristian Köhntopp, NetUSE AG, Dr.-Hell-Straße, D-24107 Kiel Tel: +49 431 386 435 00, Fax: +49 431 386 435 99 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php