On Mon, Aug 14, 2000 at 12:32:32PM -0500, David L. Nicol wrote:
> I find "throw" to be a perfectly good synonym for "raise" an exception.  The
> english language equivalent is a piece of steel machinery, when it breaks
> while running, which is said to "throw a rod" or "throw a bolt" depending
> of course on the nature of the broken item that comes flying out of the
> mechanism at dangerous and possibly inventor-fatal speeds.

This is exactly how I think of "throwing an exception".

> Because of the MTOWTDI nature of the Perl experiment, eventually
> there will be perl programmers trying to make sense of C++ and
> Java(?) nomenclature in which one throws exceptions and catches them
> with exception handlers.

Yep.  As long as our try/throw/catch/finally makes sense from where they
are coming from, we might as well reuse those same names.  If, however,
Perl's try/throw/catch/finally do something radically different (how,
I can't imagine) then we should be looking for new names.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to