News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written by weavie on Thursday September 10, 2015 @07:12AM (#10197323)
That's all fine if you are the only person who will be touching that file. The problem is that most of the time a piece of code will have multiple developers working on it over time. Each dev will have a different perspective of what that intent and explanation should be.

I have wasted far too much of my life arguing with people about how code should be formatted. Ideally I would just have a rule set up in source control to format the code on checkin and be done with it.. Then if I want a different style when I come to edit a file I can run whatever formatter I want on it and it won't affect anyone else.

There are no comments on this comment yet.