5 ms·
Or use exceptions to write cleaner code: http://www.jeffknupp.com/blog/2013/02/06/write-cleaner-python-use-exceptions/ http://www.jeffknupp.com/blog/2013/02/06/
by __derek__ 13y ago
Or use exceptions to write cleaner code: http://www.jeffknupp.com/blog/2013/02/06/write-cleaner-python-use-exceptions/ http://www.jeffknupp.com/blog/2013/02/06/write-cleaner-pytho.... That post is specific to Python, which actually implements a lot of internal features using try-except, but it suffices as an argument against the idea that catching exceptions is itself a bad practice.