In article <[email protected]>, Harishankar <[email protected]> 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 ([email protected]) <*> http://www.pythoncraft.com/ "Think of it as evolution in action." --Tony Rand -- http://mail.python.org/mailman/listinfo/python-list
