Actions

EmSys

Difference between revisions of "CCoding Style - Expressions and Statements"

From EdWiki

m (1 revision)
 
m (1 revision imported: EdWiki -- Emsys pages from Shukra)
 
(No difference)

Latest revision as of 09:30, 23 June 2015

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.