From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3EAEE56B.62D83D8C@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <3EA6EADB.16078459@null.net>, Subject: Re: [9fans] same functions everywhere Date: Wed, 30 Apr 2003 08:41:56 +0000 Topicbox-Message-UUID: 9bd79b2c-eacb-11e9-9e20-41e7f4b1d025 "Fco.J.Ballesteros" wrote: > I agree that each application should be able to do whatever it wants, > and also that probably this code shouldnt get in the library by default; > but I'd like to see several alternate libraries for error handling so that > when I write an application (and not a library) I could borrow them. It's much, much easier when the library functions throw exceptions. That way the application can handle them any way it wants (or allow default handling to occur, normally a fatal error), and the same utility library can be used unchanged with any application.