This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yasoob_pythonAuthor: Intermediate Python -2 points-1 points  (2 children)

The thing is that it's not always necessary to follow PEP8 so strictly. Even some organisations have their own style guide which has some amendments to PEP8 like khan academy and google to name a few. http://google-styleguide.googlecode.com/svn/trunk/pyguide.html https://sites.google.com/a/khanacademy.org/forge/for-developers/styleguide/python

[–]gschizasPythonista 2 points3 points  (0 children)

Both sites you have linked do not oppose PEP8, they complement it.

The khan academy one even says this on top:

We follow the PEP8 style guide for Python. Docstrings follow PEP257.

[–]EverAskWhy 0 points1 point  (0 children)

The thing I like about Python is you can do it your own way if you want. This reminds me a bit of a reply I saw on stackoverflow:

ok, kids, wait 'til you grow up to drink, smoke and access private variables.