Posted by Toby A Inkster on 07/29/07 09:10
Jerry Stuckle wrote:
> It's aggregation, not inheritance.
Despite the name of the function, aggregate() actually does something a
lot closer to multiple-inheritance than what is normally considered
aggregation. The properties and methods of the "aggregated" class are
taken on by the given object.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 38 days, 12:48.]
Cryptography Challenge
http://tobyinkster.co.uk/blog/2007/07/24/crypto-challenge/
[Back to original message]
|