[Tutor] Try except really better than if?
Karim
karim.liateni at free.fr
Sun Jan 9 23:18:59 CET 2011
Hello all,
I am using more and more try except statement. But I discussed with a
very experienced C++ programmer.
And he told me that at least in C++ using too many try -catch statements
are making the code slower. And it should
does the same for python (C implementation). My simple question: Is this
true? And why using try-except is indeed encouraged
to code as a pythonista?
Regards
Karim
More information about the Tutor
mailing list