style guideline for naming variables?

John Salerno johnjsal at NOSPAMgmail.com
Fri Mar 17 15:02:31 EST 2006


John Salerno wrote:

> some_function
> 
> But this seems awkward to me. someFunction seems nicer

Sorry, I was asking about variables but used a function example. But 
really I'm asking about any situation where you might want to use 
multiple words (except for classes, which is recommended to use Camel 
case, and that seems fine).



More information about the Python-list mailing list