|
On Jan 26, 2005, at 03:16, Mark Hamburg wrote:
Would the above scheme provide both inheritance and encapsulation without too much fuss?Yes, but at a fairly high cost per object since every method has to be instantiated and stored into the public table.
Hmmm... I thought that "instantiation" was one of the tenet of OOP? But as long as the price is right... Cheers -- PA http://alt.textdrive.com/