Quantcast
Channel: Python. Good, bad, evil -1-: Missing brace
Viewing all articles
Browse latest Browse all 20

schlitt.info - php, photography and private stuff at Thu, 01 Apr 2010 09:29:57 +0200

$
0
0
My grandma is a wise lady. She told me many useful mantras which I should repeat every night before going to bed. One of these is Never use Exceptions for flow control. And she is so right with this. It is even so true, that every OOP newbie should get this mantra tattooed on his hand. During my experiments with Python I sadly found it violated in a central place: When it comes to implementing an iterator.

Viewing all articles
Browse latest Browse all 20

Trending Articles