Is PEP-8 a Code or More of a Guideline?

Steve Howell showell30 at yahoo.com
Mon May 28 11:27:32 EDT 2007


--- Roy Smith <roy at panix.com> wrote:
> It's certainly easier to parse ip_address as
> compared to IPAddress.  
> Same with snmp_manager vs SNMPManager.
> 

Somebody earlier was actually advocating something
called proper_case, in which you can capitalize
certain letters for clarity,  like
test_for_Heisenberg_uncertainty.

Regarding acronyms, I'm curious about how people
interpret PEP 8 for the following.

Acronyms:

   get_HTTP_response
   get_http_response

Abbreviations:

   get_file_id
   get_file_ID






       
____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469



More information about the Python-list mailing list