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

Re: Please rename TRY to something else

This page is part of the web mail archives of SRFI 34 from before July 7th, 2015. The new archives for SRFI 34 contain all messages, not just those from before July 7th, 2015.



   From: "felix" <felixundduni@xxxxxxxxxx>
   Date: Fri, 26 Jul 2002 10:36:24 +0200

   SRFI-12 used HANDLE-EXCEPTIONS. Was this considered too
   verbose, or are there any other reason for choosing a different name?

The problem is that HANDLE-EXCEPTIONS and WITH-EXCEPTION-HANDLER are
too similar.  Besides one being syntax and the other a procedure, the
handlers are invoked in different contexts.  The names give no clue
as to which is which.  Using TRY helps by making the names more distinct.
Plus it has the same semantics as the TRY in other languages, making it
easier to keep the differences straight.

                                      -Richard