[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: try..catch for Lua 5.2?
- From: HyperHacker <hyperhacker@...>
- Date: Mon, 13 Sep 2010 07:09:32 -0600
On Mon, Sep 13, 2010 at 02:36, steve donovan <email@example.com> wrote:
> On Mon, Sep 13, 2010 at 10:34 AM, Miles Bader <firstname.lastname@example.org> wrote:
>> Doesn't Lua _have_ finalizers, via the __gc metamethod?
> But not in any way deterministic. Maybe Pierre is thinking of
> something like C#'s 'using' statement
I just want to add my +1 vote. Some sugar around pcall and error for
exception handling would make a lot of messy code neater.
Sent from my toaster.