in reply to Seeking Best Practices - does your company follow a standard?
Personally, I find it far more important to have standards like "any database change should be inside a transaction" and "applications shall deal with signals sensibly" than whether an opening paren should be follow, or be followed by a space (or no space, or spaces on either side). IMO, if you think layout details like that are important to standardize on, you're saying to me that your productiveness is influenced by such details. But I think that if you find it significantly harder to understand code based on how spaces and parens interact, you shouldn't be coding. Go fry French fries instead. For instance, we all agree that indentation is important. But 3 or 4 spaces? Who cares? As long as it's consistent in the same block.
Note that by no means I'm saying people should mess around. Writing clear and correct code is important (the latter obviously being the more important one), but don't waste your time codifying unimportant things. And certainly don't base it on a book that's full of 'rules' which are either obvious, or smell like "it's two weeks to the deadline, I'm way off my target number, what I can come up with now?". Yes, it's PBP I'm talking about.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seeking Best Practices - does your company follow a standard?
by Herkum (Parson) on May 05, 2010 at 21:19 UTC | |
by JavaFan (Canon) on May 05, 2010 at 22:07 UTC | |
by cleverett (Friar) on May 06, 2010 at 19:19 UTC | |
by JavaFan (Canon) on May 06, 2010 at 22:30 UTC |