How important is PEP compliance in terms of the job market? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How important is PEP compliance in terms of the job market?

I'm just looking for informed opinions really, and hopefully a strong answer. I'm a new programmer, starting with Python, and right now I'm not focusing so much on learning the language and syntax as such, but more on making sure what I do write is PEP compliant. My rationale is that I want to develop good habits early on, or am I wasting my time?

27th Aug 2017, 11:42 PM
Russell Dyson
Russell Dyson - avatar
2 Answers
+ 3
Here is one employer's (Google) style guide: https://google.github.io/styleguide/pyguide.html
28th Aug 2017, 2:55 AM
David Ashton
David Ashton - avatar
+ 2
The only PEP that is not included deeply in Python is PEP 8, other than that, all Python code is PEP compliant (at least all the Python Enhancement Proposals that are accepted and implemented). Sorry for this technicality. PEP 8 suggests a coding style at a community-wide level, so you might want to follow these guidelines, and change to your company's style of coding later if needed. You'll not be wasting your time. (the only problem in PEP 8 is that 80 characters can be really short in unit tests)
27th Aug 2017, 11:54 PM
Amaras A
Amaras A - avatar