Why not allow empty code blocks?

D'Arcy J.M. Cain darcy at Vex.Net
Fri Jul 29 12:20:12 EDT 2016


On Fri, 29 Jul 2016 14:15:01 +0100
BartC <bc at freeuk.com> wrote:
> > try:
> >    Some code
> > # except Some_Exception:
> >    # Commented code for when I am debugging <Some code>
> 
> Will it behave the same way when there is a Some_Exception exception?

Of course not.  The person writing that was an idiot.

Oh wait - I wrote that.  Damn!  There must have been a reasonable
excuse then.

Naturally that part of my message was the only thing commented on.  I
suppose people stopped reading after that flub and missed my insightful
comment on premature developer optimization.

Getting more coffee now.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy at Vex.Net
VoIP: sip:darcy at Vex.Net



More information about the Python-list mailing list