Actions

EmSys

CCoding Style - Expressions and Statements

From EdWiki

Revision as of 09:30, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(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.