Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: