Hacker News new | past | comments | ask | show | jobs | submit login

Checkstyle, FxCop, PEP 8 checkers. These tools have been around for ever, and normally tied into a CI environment.



Well 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.


Normally 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.


But 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)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: