3 ms·
Checkstyle, FxCop, PEP 8 checkers. These tools have been around for ever, and normally tied into a CI environment.
by UK-AL 13y ago
Checkstyle, FxCop, PEP 8 checkers. These tools have been around for ever, and normally tied into a CI environment.
- goldenkey 13y agoWell I stand corrected. I code in Objective C myself but I never considered installing an XCode addon or adding a Git hook for simple things like spacing around method name or visibility scope. I guess it would help with large projects but it seems like a problem that is more in line with getting coders to be clean -- not so much an automated thing. Because an automated checker is not going to be able to unshitify messy methods.
- UK-AL 13y agoNormally bad code is often caused by poor incentives, to get things done quickly, refactoring not appreciated, no unit tests, and managers not caring about good design. Most developers want good code, and it's a fight to get it. These tools basically makes these things visible and harder to ignore.
- gte910h 13y agoBut the tools would be much better when they get to reformatting and not just giving the programmer more work that is rather painstaking to do. (They are working on this feature, but are afraid of it)