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

The solution to this is to use an automated formatting tool for the entire team and have it automatically run prior to review and be done with it.


This is done in many teams. Go has made it really easy via its gofmt tool. The trouble is that it's hard to do on a large existing codebase that's not consistently formatted: doing a mass format messes with the line-by-line commit history, and on occasion introduces bugs.




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

Search: