[Python-ideas] 'where' statement in Python?
tjreedy at udel.edu
Fri Jul 23 00:35:24 CEST 2010
On 7/22/2010 4:21 PM, geremy condra wrote:
> Hmm. I'm pretty sure you know that I don't think 37 levels of for statements is
> the minimum required number for ugliness,
Of course not, but that is the only number you gave ;-) I would agree to
something smaller than 10, but larger than 4.
> I would also argue that the more valid comparison would be nested functions
> or classes- both perfectly pretty constructs on their own- which would cause
> me to gnaw on otherwise unoffending office furniture if I encountered them
> nested 3 deep.
For classes I agree. For functions I would allow 3. But in all casses,
the number that is ok is usefully larger than 1.
Terry Jan Reedy
More information about the Python-ideas