Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:Exceptions! (Score 1) 662

"exceptions are (in almost all implementations) much slower"

In Python, it can be much faster to catch SOMEWHAT rare conditions in exceptions than by using if tests to test for those conditions. So, the maxim "exceptions are for exceptional conditions" isn't considered paramount in Python as it is for, say, C++. Exceptions are becoming something more people are using for flow control when it's convenient to do so.

Slashdot Top Deals

You can tune a piano, but you can't tuna fish. You can tune a filesystem, but you can't tuna fish. -- from the tunefs(8) man page

Working...