How do you feel about policies that strictly control how you brace your code?
I am old and have worked for a lot of software companies. When I was younger I gave a shit about this kind of thing but over the years have stopped caring. I'd prefer to work for a place that doesnt have strict style guidelines regarding trivial style details but if a place does it is not a deal breaker for me.
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)?
I'd prefer a policy of "Take a look at the way we arrange our code, postion our braces, name our member variables etc. and try to conform to that, but by all means style as you see fit if a practical need arises in which it makes sense to break out of the convention.
how irksome is it to have to conform to using a brace style other than your own?
A little irksome but in the grand scheme of things software company-wise not my chief concern, not my secondary concern, etc. Loads of things matter more e.g. autonomy to choose projects, etc.
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?
Doesn't leave me disgusted at my own code.
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?
Actual deal breakers for me tend to have more to do with functionality and behavior than with syntax and syntactic style. I'm talking about arbitrary prohibitions on various language features and programming techniques -- arbitrary, not well-grounded ones i.e. yes: disallow use of exceptions if the code is going to run on an embedded device and compiling with exceptions makes the exe binary too large (or whatver); no: disallow excpetions because Google says exceptions are bad, etc.