|
|
|
|
|
by OmniBus
5702 days ago
|
|
I code like this. It is easier to identify code structure. for (int i; i < 10; ++i) {
if (i % 3 == 0) {
continue;
}
array[i] += 2;
}
I use blank lines to separate declaration and other codes, and logical block within a function, and also between functions.It is no use for me to put blank lines between statements. It would better to view structure in one screen. Scrolling between pages make me tired too. |
|
And ya, scrolling is the enemy.