Comparing Lisp conditions to Java Exceptions
- From: William Bland <news456@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Apr 2005 04:02:16 GMT
I was discussing Java Exceptions vs. Lisp conditions with a colleague
recently, and he agreed that Lisp's conditions have several points in
their favour. He did raise one point though, that I didn't know the
answer to.
In Java you may specify, as part of a method's signature, the classes of
Exception that it might throw. I had to admit that I knew of no facility
for declaring the conditions that might be signalled by a Lisp method or
function. Is there such a mechanism? If not, are there good reasons why
it would be an unnecessary or undesirable feature?
Thanks,
Bill.
.
- Follow-Ups:
- Re: Comparing Lisp conditions to Java Exceptions
- From: Kaz Kylheku
- Re: Comparing Lisp conditions to Java Exceptions
- From: Kent M Pitman
- Re: Comparing Lisp conditions to Java Exceptions
- From: Gisle Sælensminde
- Re: Comparing Lisp conditions to Java Exceptions
- From: Stefan Nobis
- Re: Comparing Lisp conditions to Java Exceptions
- From: Brian Downing
- Re: Comparing Lisp conditions to Java Exceptions
- From: Kenny Tilton
- Re: Comparing Lisp conditions to Java Exceptions
- From: Dave Watson
- Re: Comparing Lisp conditions to Java Exceptions
- From: Barry Margolin
- Re: Comparing Lisp conditions to Java Exceptions
- Prev by Date: Re: float to pointer coercion (cost 13)
- Next by Date: Re: Differences in Lisp implementations a hinderance?
- Previous by thread: Differences in Lisp implementations a hinderance?
- Next by thread: Re: Comparing Lisp conditions to Java Exceptions
- Index(es):