In article <mailman.187.1291397553.2649.python-l...@python.org>,
Harishankar  <v.harishan...@gmail.com> wrote:
>On Thu, 02 Dec 2010 17:33:47 -0800, Aahz wrote:
>>
>> Please demonstrate that using ``if`` blocks for True/False is impler and
>> cleaner than using ``try`` blocks to handle exceptions.
>
>It is my personal preference and coding style for certain situations I 
>encounter in my own programs and not something that I could prove to 
>anybody else by theory.

Note carefully that I said "demonstrate", not "prove".  If using ``if``
is so clearly better in some situations, you should be able to provide an
example.
-- 
Aahz (a...@pythoncraft.com)           <*>         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