3 ms·
I respectfully disagree with you on the whitespace/code style issue. In most teams, you are writing code first and foremost for the compiler. It has to work. On
by criddell 4y ago
I respectfully disagree with you on the whitespace/code style issue. In most teams, you are writing code first and foremost for the compiler. It has to work. Once that hurdle is cleared the next most important audience is people who will be working with the code in the future. You write it once but maintain it forever. You're job is to make that as easy as possible and following a style used by the entire group makes that easier. Insisting on doing things your way is selfish.
- stcroixx 4y agoI don't disagree with any of these points. Where I disagree is that style differences make code less understandable or more difficult for others to work with to any meaningful degree. To me, it's roughly equivalent to stylistic differences in how people choose to communicate in written form. I'd genuinely be surprised if someone has more difficulty understanding code because a brace is on a line all by itself or not. I'd not be surprised to hear they have a preference or that they're annoyed to work with code that is not in their preferred style.