lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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 )

Super accessors are all good and nice until you try and nest them, e.g.:


at which point they become somewhat hairy and computationally expensive.