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

Variables names shadowing builtins #403

Closed
PauloVitorRocha opened this issue Apr 7, 2021 · 0 comments
Closed

Variables names shadowing builtins #403

PauloVitorRocha opened this issue Apr 7, 2021 · 0 comments
Assignees
Labels
code enhancement New feature or request

Comments

@PauloVitorRocha
Copy link
Contributor

Describe the issue
Shadowing a builtin makes your code more difficult to read and maintain. It may also be a source of bugs as you can reference the builtin by mistake.

Expected behavior
It is not ok to shadow builtins with variables which are local to a function or method, so local variables should be renamed to not shadow builtins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants