Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cmu-cs-g.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!mhuxt!mhuxr!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!rochester!cmu-cs-pt!cmu-cs-g!wenn From: wenn@cmu-cs-g.ARPA (John Wenn) Newsgroups: net.lang.c Subject: Re: event-handling approach to errors Message-ID: <251@cmu-cs-g.ARPA> Date: Sun, 17-Mar-85 08:05:22 EST Article-I.D.: cmu-cs-g.251 Posted: Sun Mar 17 08:05:22 1985 Date-Received: Mon, 18-Mar-85 07:58:33 EST Organization: Carnegie-Mellon University, CS/RI Lines: 18 >I have read both general descriptions of Mesa and the Mesa manual itself. >I also read an interesting retrospective on the language, which among >other things said (roughly), "the exception mechanism is too complex >and gives far too much freedom; it is terribly easy to hang yourself >(or the next guy who maintains your code) with it, and this happens >too often for comfort". I confess it didn't sound that bad to me, but >they're the ones with Mesa experience. You're right, it isn't quite that bad. The entire signal mechanism is very powerful and general, too much so for most applications. As with any powerful feature you can hang yourself if you misuse it, or don't fully understand it. On the otherhand, it's nice to have the power when you need it. I never used anywhere near the full generality of Mesa signals, but I did use things that aren't available anywhere else (CLU, Ada, C, etc.). The entire subject of how you handle exceptional conditions is not understood. Mesa provides one extreme. The right answer probably is a bit more moderate. /John