lua-users home
lua-l archive

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


On Mon, Sep 13, 2010 at 2:09 PM, HyperHacker <hyperhacker@gmail.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.

-Duncan