|
|
|
|
|
by peterzz
2519 days ago
|
|
Because bugs due to missing {} happen, and are a royal pain, the rule is that any nontrivial statement; especially any multi-line; must have braces. Also, given the amount of patches I have to read, uniform style really does matter. Unconventional style breaks the flow and detracts from the important bits. Also, I'm not aware of a lint like tool that works on diffs. Many of the patches never get further than my MUA. |
|
Personally I prefer to be less strict about style whenever possible, but then I prefer to work in safer languages, and I don't have the same firehose to deal with.