Hacker News new | ask | show | jobs
by dudul 3716 days ago
I like to enforce code style because I use automated-formatting on all the files I change. So, to avoid useless lines in git diff we have everybody use the same settings in their IDE to make sure we don't have to go through a bunch of "tab to space" changes.

I personally don't care much for style per se (e.g. should I leave an empty line after each class declaration and garbage like that). The only one I like: no lines longer than 80 characters, simply because I occasionally work on small laptops and like being able to see the whole line at once.