[Python-Dev] PEP 8 updates/clarifications (original) (raw)
Barry Warsaw barry at python.org
Thu Dec 15 23:07:38 CET 2005
- Previous message: [Python-Dev] PEP 8 updates/clarifications
- Next message: [Python-Dev] PEP 8 updates/clarifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2005-12-15 at 11:35 -0800, Josiah Carlson wrote:
In regards to naming conventions, I find that CapWords are easier for me to read and remember as a native speaker of english. I've heard statements from non-native english speakers that CapWords are hard to read and/or understand, but in the realm of wxPython, changing literally thousands of CapWords references to lowerunderscore during wrapping, along with the hundreds of thousands of references in just a few of the larger wxPython projects is a bit out of line. Or even convincing the hundreds of other packages which use CapWords or lowerunderscore to change how their naming conventions work is going to be a tough fight.
None of which PEP 8 recommends (in fact, it strongly recommends against massive renames). What PEP 8 is saying is that /new/ code, especially new code intended for the stdlib, should follow the PEP's guidelines.
Which is why I think we need one strong recommendation. Over time, as modules are naturally updated or supplanted, we'll get more consistency in the stdlib across packages.
-Barry
-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20051215/860bceeb/attachment.pgp
- Previous message: [Python-Dev] PEP 8 updates/clarifications
- Next message: [Python-Dev] PEP 8 updates/clarifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]