Let’s say you joined a company and they have some coding standards to which you must adhere. Right now I mainly want to know how you feel about their style of braces conflicting with your own, but I generalized the topic so that I could ask my follow-up question as well.
Braces
How do you feel about policies that strictly control how you brace your code?
For example, would you prefer a policy that strictly requires all braces to be on their own line, or a policy that defines only where to put braces when declaring a class or defining a function, but lets you use your own style inside functions (which may well be to put them on their own lines)?
To segway into the next section, how irksome is it to have to conform to using a brace style other than your own?
Does it just bother you but you can get on with it, or does it leave a nasty taste in your mouth and make you disgusted at your own code?
Other
I am largely interested in what things you consider most annoying to change about your own style.
For example, maybe it would annoy you a little to have to prefix a class with “C” if you are not used to doing that, but how annoyed would you be if you could not use “m_” for members of a class?
List, in order from most grating to slightly tolerable, things you would hate to change about your own style if you had joined a company that had a coding standard largely in-conflict with your own.
L. Spiro