New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example for variable names with multiple words #17
Comments
Based on PEP8 - Method Names and Instance Variables
It imply that using I think python like under_scope style rather than CamelCase. CamelCase seems only used by |
Oh!! Do you mean add some examples like below? # good
user_name = 'Guido'
# bad
userName = 'Guido' |
Yes this was the idea. I did not know PEP8. And from https://www.pythonsheets.com/notes/python-basic.html#python-naming-styles. it was not clear on how to seperate names in variables. But now i know it is |
OK! I will add it later! 👍 |
Regarding https://www.pythonsheets.com/notes/python-basic.html#python-naming-styles.
An example for variable names with compound words would be nice.
For example. Should a method local variable be called
userName
oruser_name
?The text was updated successfully, but these errors were encountered: