[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: AKClassHierarchy
- From: Lisa Parratt <lisa@...>
- Date: Sun, 12 Feb 2006 19:09:28 +0000
On 11 Feb 2006, at 19:00, PA wrote:
You could make the above look more like this:
local super = Square
local self = AKClass:new( super )
function self:initialize( )
super.initialize( self, 1 )
end
Super accessors are all good and nice until you try and nest them, e.g.:
super.super.method()
at which point they become somewhat hairy and computationally expensive.
--
Lisa