Re: PreScheme exception handling
Thomas Hintz <[email protected]> Tue, 24 Nov 2015 00:32:29 -0800
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Nov 21, 2015, at 01:57 PM, Taylor R Campbell wrote: > Date: Sat, 21 Nov 2015 12:50:01 -0800 > From: Thomas Hintz <[email protected]> > > All this makes me wonder, how does the PreScheme Scheme48 code handle > exceptional cases? I feel like it must do something like this > somewhere > but a cursory look through the code didn't give me any good clues as > to > how it handles exceptional cases. Is there some other pattern I'm > missing? > > You can always return error codes, just like is standard practice in C > and somewhat common practice in C++. Yes, I could, but that is less than ideal and I was hoping to avoid it. It is slower and bloats the code base.