J. M. De Moor
Re: Exceptions vs Error codes

Re: Exceptions vs Error codes

In article <3b78853d$1_1@dnews>
	"J. M. De Moor" <‚úČ> wrote:

> Brian
> > About 95% of try..except blocks are a bad idea.
> >
> Don't know how scientific your 95% is but I'll go you one better.

Please list some valid uses of exception-swallowing try..except blocks,
and I'll show you that the majority should have checked for error before
doing whatever raised the exception.

> I think that the vast majority of raise statements are a bad idea.

Don't worry, it'll pass as you see more code.

-- Barry
--   If you're not part of the solution, you're part of the precipitate. Team JEDI: NNQ - Quoting Style in Newsgroup Postings
FYI: Phrase searches are enclosed in either single or double quotes
Originally created by
Tamarack Associates
Sun, 03 Mar 2024 23:32:51 UTC
Copyright © 2009-2024
HREF Tools Corp.