lua-users home
lua-l archive

Re: OOBit

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


On Mon, Sep 27, 2010 at 12:53 PM, Jonathan Castello <twisolar@gmail.com> wrote:
> Colon notation makes me extremely paranoid. Since t:method() is just
> sugar for t.method(t), anyone can replace 't' in the argument list
> with some other, unrelated table.
But library code should always check for 'bad self', at least in an
ideal universe ;)
Closures can be expensive for _lots_ of objects of the same class.
steve d.

AltStyle によって変換されたページ (->オリジナル) /