Comparison with False - something I don't understand
Steve Holden
steve at holdenweb.com
Thu Dec 2 10:21:53 EST 2010
On 12/2/2010 9:56 AM, Harishankar wrote:
> 3. Philosophically I think exception handling is the wrong approach to
> error management. I have never grown up programming with exceptions in C
> and I couldn't pick up the habit with python either. Did I mention that I
> detest try blocks? try blocks seem ugly and destroy code clarity at least
> in my view. And enclosing single statements under separate try blocks
> seem to add a lot of clutter.
Whereas lots of nested if statements to test that multiple errors have
all not occurred is a model of clarity? This sounds to me like a
prejudice that will harm your Python development.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon 2011 Atlanta March 9-17 http://us.pycon.org/
See Python Video! http://python.mirocommunity.org/
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list