Reputation
338
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 9
Impact
~19k people reached

Oct
18
comment How to clean up nested try/except/else?
Ah, in that case I completely agree with you. :)
Oct
17
answered How to perform deferred tasks in backend
Oct
17
comment How to clean up nested try/except/else?
A good answer overall, but I have to disagree with your point 1 -- what evidence is there that foo should be doing its own cleanup? foo is signalling that something went wrong, and has no knowledge of what the correct cleanup procedure should be.
Oct
16
answered How to clean up nested try/except/else?
Oct
16
answered Is this a pattern: stand-alone classes
Oct
16
answered Is there a way to prevent variables from changing their type in Python?
Oct
16
answered Is using os.environ to store the value of command line switches pythonic?
Sep
24
awarded  Autobiographer
May
30
answered What's the best way to create a static utility class in python? Is using metaclasses code smell?
May
30
answered The rationale behind Falsy values
Jan
17
awarded  Revival
Aug
23
awarded  Yearling
Jan
20
answered When and why should one create classes at runtime?
Jan
12
comment How to teach basic principles to programmers
While an excellent guide for teaching, one should not have to teach someone already employed as a programmer the rudiments of programming.
Jan
11
comment Explicit or implicit looping?
Agreed. for and while are loop constructs, and so are explicit.
Jan
11
awarded  Citizen Patrol
Jan
11
revised How to populate a private container for unit test?
spelling, grammer
Jan
11
suggested approved edit on How to populate a private container for unit test?
Jan
11
answered How to populate a private container for unit test?
Jan
11
answered How can I learn to effectively write Pythonic code?