Decorator for Enforcing Argument Types

Duncan Booth duncan.booth at invalid.invalid
Fri Dec 22 05:51:55 EST 2006


"John Machin" <sjmachin at lexicon.net> wrote:
> You are saying that you think that George thinks that they are
> teaching efficient coding methods in OO classes??
> 
No, but I hope they teach how to recognise patterns, and I imagine they 
also teach something about refactoring to remove switches or long if/elif 
chains. (My imagination may not, of course, bear any resemblance to real 
life.)



More information about the Python-list mailing list