Skip to content
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

Advertise underscore_separation for function names #263

Open
Saransh-cpp opened this issue Nov 29, 2024 · 1 comment
Open

Advertise underscore_separation for function names #263

Saransh-cpp opened this issue Nov 29, 2024 · 1 comment

Comments

@Saransh-cpp
Copy link
Member

https://github-pages.ucl.ac.uk/rsd-engineeringcourse/ch05construction/02conventions.html says -

[Camel case](https://en.wikipedia.org/wiki/Camel_case) is used in the following example, where class name is in UpperCamel, functions in lowerCamel and underscore_separation for variables names. This convention is used broadly in the python community.

but, PEP8 asks people to use underscore_separation for their functions too. This should be updated.

@zhaohany
Copy link

Hi @Saransh-cpp , raised a PR to update the naming conventions.
#265

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants