Re:Writing code for both computers and humans
by carapace on Saturday November 11, 2023 @10:18AM
(#38231037)
Yeah!
There was a thread the other day about a linter that flagged useless code and all the odd bugs it caught, and I think it would have flagged this snippet, eh?
"Interesting bugs caught by no-constant-binary-expression"
There was a thread the other day about a linter that flagged useless code and all the odd bugs it caught, and I think it would have flagged this snippet, eh?
"Interesting bugs caught by no-constant-binary-expression"
https://news.ycombinator.com/item?id=38196644
https://eslint.org/blog/2022/07/interesting-bugs-caught-by-n...