On Wed, Sep 28, 2005 at 11:46:37 -0500, Adam D. Lopresto wrote:
> The recent thread on Expectuations brought back to mind something I've been
> thinking for a while.  In short, I propose that "use fatal" be on by default, 
> and
> that "err" be turned into syntactic sugar for a very small try/CATCH block.

I like it a lot. It gives the advantages of both the flexible, more
robust try/catch, and the (locally) concise, clear error return.

The only problem I see is that most people (i don't know why) argue
that 'use fatal' should be off by default.

Your proposal still makes a lot of sense even if 'use fatal' is
optional, though.

-- 
 ()  Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418  perl hacker &
 /\  kung foo master: /me climbs a brick wall with his fingers: neeyah!

Attachment: pgppnIvlmVHiV.pgp
Description: PGP signature

Reply via email to