Is Google App Engine Python non-Pythonic?
-
It seems like lots of the Google App Engine code and examples doesn't follow PEP8 and and have a tendency to lean towards a more "unpythonic"(?) use of classes, camelcase etc. Example: - https://developers.google.com/appengine/docs/python/tools/localunittesting It this in fact "non-Pythonic"? Is it on purpose?
-
Answer:
I would say it's only "un-Pythonic" in not following PEP8 style. The original Google Python Style Guide did not follow PEP8. Some of the App Engine samples continue to use the original Google Python Style Guide, which is more similar to the style guide found here: https://code.google.com/p/soc/wiki/PythonStyleGuide To answer your question "is it on purpose" รข any non-PEP8 code you see from Google is most likely only non-PEP8 so that it can be consistent with other Google-authored code that also does not follow PEP8. If you take a look at the code in the App Engine SDK, you (used to) be able to find many aliases for functions between PEP8 names and non-PEP8 names.
Jeremy Weinstein at Quora Visit the source
Related Q & A:
- Has Google App Engine improved?Best solution by Quora
- How to connect Android app to App engine?Best solution by groups.google.com
- How does google search engine works?Best solution by Yahoo! Answers
- How to get my website on the first page of google search engine?Best solution by Yahoo! Answers
- How can I add a website to google search engine?Best solution by safehouseweb.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.