CCoding Style - Expressions and Statements

From EdWiki

Revision as of 06:51, 7 March 2012 by Jshankar (Talk | contribs) (1 revision)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Expressions and Statements

  • Write expressions and statements in a way that makes their meaning as transparent as possible.
  • Write the clearest code that does the job.
  • Use spaces around operators to suggest grouping.
  • Format to improve readability.