[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: OOBit
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 28 Sep 2010 09:17:15 +0200
On Mon, Sep 27, 2010 at 8:59 PM, Jonathan Castello <firstname.lastname@example.org> wrote:
> 'f' and 'b' respectively. I expect b:baz() to call Bar's baz on b. But
> if I used f.baz(b) instead, I'm actually calling Foo's baz on b.
I thought that was a feature ;)
> lots of closures, yes, but the waste is kept to a minimum. And I like
> the assurance that it can't be circumvented without access to the
> debug table (because I use newproxy() to create the objects, and I put
> data in the userdatum's environment).
I suppose there are situations where you simply cannot trust your
users (or co-workers), but then sandboxing is the way forward.