Re:Why I Have Given Up on Coding Standards
by gte910h on Wednesday November 21, 2012 @04:47PM
(#4816481)
I don't do coding styles that aren't the "standard" for the language or aren't done by a tool (or at least done by a compile time add on program). I just change employers.
You're paying me 6 figures, you can make reasonable guidelines about things and expect professionalism but not mindful, constant compliance with arbitrary rules. It drains self control and concentration to follow huge coding standards with lots of minutia (Always put a contract with X Y Z above every function, always put stupid ass hungarian in front of your variables, etc).
Re:Why I Have Given Up on Coding Standards
by blablabla123 on Wednesday November 21, 2012 @04:23PM
(#4816379)
Yeah, I agree... The best thing is IMHO a standard which answers where to put curly braces and some basic variable naming convention. (Upper/lower/camel case, to prefix or not to prefix with type abbreviations etc... depending on the PL) Going further just creates pointless discussions...
See StyleCop (for MS languages) for examples where "coding style guides" can go overboard.