4 ms·
I agree and disagree. I mean, the thing is that outside of personal projects it's not uncommon to inherit a codebase from other people, sometimes quite a large
by ShinTakuya 7y ago
I agree and disagree. I mean, the thing is that outside of personal projects it's not uncommon to inherit a codebase from other people, sometimes quite a large codebase. Such a warning can be useful when eliminating boo-boos (acting as an lint I guess).
- tuwtuwtuwtuw 7y agoWouldn't you want warnings when an inherited code base does weird things with possible incorrect behaviors as side effect?
- ShinTakuya 7y agoWell I would consider DNS resolution on comparisons/hashing to be an incorrect behaviour as a side effect.
- ivan_gammel 7y agoIn this case Sonar will do a better job. IDE warnings are good for fixing them immediately - when they accumulate it’s very easy to stop paying any attention.