gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Nit


From: Robert Collins
Subject: Re: [Gnu-arch-users] Nit
Date: Mon, 20 Oct 2003 20:21:13 +1000

On Mon, 2003-10-20 at 18:56, Thomas Zander wrote:
> Its all the things that people use Exceptions for; since it allows for bugs 
> to be made without creating non-sane conditions, which allows creating 
> software bug-free the first time around.
> You are right that c can do this; but most developers just don't because its 
> so damn hard!
> 
> How often is a malloc done without a check if it succeeded?  Do a grep to 
> find out, same with file-open and all those nice little problems.

Y'know, reading hackerlab would be a very good start for you, as you
appear to be talking from a position of ignorance [of tla's internals]
rather than one of knowledge.

Oh, and as for exceptions being 'all that' ? Exceptions don't prevent
bad state in objects, they don't prevent bugs, all they do is ensure
that cleanup routines have a chance at trapping abnormal events within
the same process.

Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]