Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johnny22
11 months ago
|
parent
|
context
|
favorite
| on:
PEP 760: No more bare excepts
a good linter rule would have exceptions for loop variables by context by just by name like i, j, k. Often just by name is good enough at least for a solo dev or small team. I require them to be at least 3 chars EXCEPT those.
For example:
https://clang.llvm.org/extra/clang-tidy/checks/readability/i...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For example: https://clang.llvm.org/extra/clang-tidy/checks/readability/i...