Re: On the case for exception-based error handling.
[email protected] (Peter Scott) Wed, 23 Aug 2000 14:40:15 -0700
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
At 02:37 PM 8/23/00 -0700, Glenn Linderman wrote: > > This means that die can be trapped by catch, and > > that throw can be trapped by eval. > >Blecch. Orthogonality of the mechanisms is easier to understand than funny >rules, special cases, and syntactical magic. But that *is* being orthogonal. That's how Error.pm implemented it and it makes perfect sense. Nothing in RFC 88 precludes die and throw from sharing the same underlying code, or simlarly catch/eval. I think it should make it clear that they *are* the same thing. -- Peter Scott Pacific Systems Design Technologies