I use the exec function. my code's levels are less than 3. BTW,Linus Torvalds is NOT always right.
2008/8/18 Roel Schroeven <[EMAIL PROTECTED]> > Nick Dumas schreef: > >> A good quote I read (I can't remember who it was from, though) is "If >> you need more than three levels of indentation, then something is >> seriously wrong with your code." Possibly Guido himself? >> > > Linus Torvalds in the Linux kernel coding style document: > > "[...] The answer to that is that if you need more than 3 levels of > indentation, you're screwed anyway, and should fix your program." > > (http://lxr.linux.no/linux/Documentation/CodingStyle) > > -- > The saddest aspect of life right now is that science gathers knowledge > faster than society gathers wisdom. > -- Isaac Asimov > > Roel Schroeven > > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list