Miscellany
public text v1 · immutableWhy this:
int foo = 0;
for (int i = 0 : i < 25; i++) {
foo++;
}
as opposed to:
for (int i = 0 : i < 25; i++) {
int foo = 0;
foo++;
}
Why this:
int foo = 0;
for (int i = 0 : i < 25; i++) {
foo++;
}
as opposed to:
for (int i = 0 : i < 25; i++) {
int foo = 0;
foo++;
}