steven daprano gsdszpearwoodinfo sat 3 may 2008 082727 pm nick coghlan wrote samuele pedroni wrote found example personal recent code start end titlepattern lambda three later used find replace expressions module suppose point agree discouraged really silly chars gain used effect rare cases way thats written currently think could easily miss fact titlepattern callable glancing code confused later saw called passed callback think youre exaggerating tad would confused see titlepattern foocallbacktitlepattern else would titlepattern callable used callable converting def makes obvious one lines like others get confused factory functions matter callable class instances types etc titlepattern factoryargs note lack def lots code foocallbacktitlepattern note titlepattern callable think argued factory functions bad think could easily miss fact titlepattern callable glancing code confused later saw called passed callback people would dismiss concern tell problem certainly isnt good reason discouraging factory functions dont think considered good reason discouraging lambdas steven daprano _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 200041 1000 pythondev pep 8 discourage named lambdas