Bruce H. Cottman, Ph.D.
1 min readApr 19, 2020

--

I think of except with a possible recovery as an exception. you make a good point, there may be reversable actions in some cases. in general i like to raise a package error and leave python errors to python, i.e. Attribute error.

my definition of raise error and avoid the use of except may be a little strict. I just find exceptand goto, something to avoid.

--

--

Bruce H. Cottman, Ph.D.
Bruce H. Cottman, Ph.D.

Written by Bruce H. Cottman, Ph.D.

I write my blog utilizing decades of experience in investment, programming, and data science.

No responses yet