[Python-Dev] pep8 reasoning

Kristján Valur Jónsson kristjan at ccpgames.com
Thu Apr 24 12:30:29 CEST 2014



> -----Original Message-----
> From: Python-Dev [mailto:python-dev-
> bounces+kristjan=ccpgames.com at python.org] On Behalf Of Chris Withers
> Sent: 24. apríl 2014 07:18
> To: Python-Dev
> Subject: [Python-Dev] pep8 reasoning
> The biggest sticking point is naming, particularly as it's the one thing that can't
> necessarily be changed module by module. What were the compelling
> reasons to go from mixedCase to underscore_separated? What's considered
> the best approach for migrating from the former to the latter?

I doubt that it was the original motivation, but there have been evidence of late suggesting that snake-case is in fact _better_ than CamelCase.  See for instance http://www.cs.kent.edu/~jmaletic/papers/ICPC2010-CamelCaseUnderScoreClouds.pdf
Science!

K


More information about the Python-Dev mailing list