In article <[email protected]>,
Harishankar  <[email protected]> wrote:
>
>There are some reasons why I hate exceptions but that is a different 
>topic. However, in short I can say that personally:
>
>1. I hate try blocks which add complexity to the code when none is 
>needed. Try blocks make code much more unreadable in my view and I use it 
>only for the built-in exceptions when absolutely needed.
>
>2. I prefer the less irksome True or False to do error checking. 
>Exceptions seem too heavyweight for simple problems.

Please demonstrate that using ``if`` blocks for True/False is impler and
cleaner than using ``try`` blocks to handle exceptions.
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"Think of it as evolution in action."  --Tony Rand
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to