I'm a self-taught dev focused on websites and Python development.
My friends call me the "Data Genie".
When I get bored, I find tech to read about, write about and build things with.
My experience may be indeed be different from others. That's why I backed my comment with a link to the standard style Python programmers are recommended to follow. Not everyone follows it or follow it completely but it encourages quality (readable and debuggable code) and consistency (if you change codebases or change jobs you probably won't have to change styles because you alread follow the prevalent style which is documented and agreed upon).
I'm a self-taught dev focused on websites and Python development.
My friends call me the "Data Genie".
When I get bored, I find tech to read about, write about and build things with.
I also recommend using a tool like pylint and flake8 ans black to give warnings and automated fixes for code style.
They are going to default to a prevalent standard to avoid debate between coders on what is right, as the tools enforce a standard for you.
You can also override with a config if you want 100 characters long instead of 79 or want to change how code is wrapped or variables are named, if you want to deviate from the style.
Yeah. Great point here @keonigarner . I think stating personal experience may sound biased.
My experience may be indeed be different from others. That's why I backed my comment with a link to the standard style Python programmers are recommended to follow. Not everyone follows it or follow it completely but it encourages quality (readable and debuggable code) and consistency (if you change codebases or change jobs you probably won't have to change styles because you alread follow the prevalent style which is documented and agreed upon).
I also recommend using a tool like pylint and flake8 ans black to give warnings and automated fixes for code style.
They are going to default to a prevalent standard to avoid debate between coders on what is right, as the tools enforce a standard for you.
You can also override with a config if you want 100 characters long instead of 79 or want to change how code is wrapped or variables are named, if you want to deviate from the style.
github.com/MichaelCurrin/py-projec...