Programming style: Difference between revisions

Content deleted Content added
m disambiguate link
 
(One intermediate revision by one other user not shown)
Line 19:
 
=== Indentation ===
Indentation style can assist a reader in various wayways including: identifying control flow and blocks of code. In some programming languages, indentation is used to [[off-side rule|delimit blocks of code]] and therefore is not matter of style. In languages that ignore whitespace, indentation can affect readability.
 
For example, formatted in a commonly- used style:
 
<syntaxhighlight lang="c">