Better HN
topnewbestaskshowjobs
Log inSign up

peterzz

7 karma · joined Jul 31, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

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.