[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: try..catch for Lua 5.2?
- From: Duncan Cross <duncan.cross@...>
- Date: Mon, 13 Sep 2010 14:34:17 +0100
On Mon, Sep 13, 2010 at 2:09 PM, HyperHacker <email@example.com> wrote:
> 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.
One thing is that people would expect 'break' and 'return' to work
inside a try block, which makes the sugar required significantly more
complicated than you might expect at first glance.