Changes

Jump to: navigation, search

OOP344 - FjXR - 20102

17 bytes added, 15:44, 31 May 2010
no edit summary
“scannability” easier – when you look at this line:</p>
<br/>
int func(int a);<br/>
<br/>
<p>
declaration and it goes no further, but when you see the line:</p>
<br/>
int func(int a) {<br/>
<br/>
<p>
for a multi-line definition:</p>
<br/>
int func(int a) {<br/>int b = a + 1;<br/>return b * 2;<br/>}<br/>
<br/>
<br/>
<p>and for a single-line definition that is often used for inlines:</p>
<br/>
int func(int a) { return (a + 1) * 2; }<br/>
<br/>
<p>
1
edit

Navigation menu