1
edit
Changes
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>