lua-users home
lua-l archive

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

On Sep 13, 2010, at 6:34 AM, Duncan Cross wrote:

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

These are also the thing that make lightweight or middleweight (if lightweight just supports expressions) function syntaxes fail.