+ 1
Where I can learn good python coding practices?
Where I can learn good python coding practices? So that code is not hard to understand for other people and editors. ๐๐ข๐ข๐๐จ ๐๐ก๐๐ฒ๐๐ฅ Not to be confused with Doing practice exercises, I am looking for Learning the principles for good coding with the purpose that it can be understood well over the period of time by myself or the others. As code base become large, sometime it becomes difficult to understand and maintain. I am specially looking for python. It could be coding architecture, use of decorators or context managers or generators, coding idioms or code beautifier or code checkers etc..
6 Antwoorden
+ 4
About PEP 8:
https://www.python.org/dev/peps/pep-0008/
https://realpython.com/python-pep8/
+ 4
You probably already know the book 'Clean Code'?
It's not specifically about Python, but I think most of the explained principles can be applied to all programming languages.
+ 3
Btw: You can also search for "clean code python" in google or youtube.
+ 2
if you code python with pycharm, it gives you ugly squiggle lines under code that doesnt match PEP8 standards. PEP8 aims to keep the code readable. Eventually, you'll just code that way naturally to avoid the lines
+ 2
The best way to lesrns python or other languages open source, is read documents.