[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: OOBit
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 27 Sep 2010 12:59:19 +0200
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.