3 ms·
I would argue that if declaring up-front versus declaring as-needed makes a significant difference in readability, then your functions are too long.
by wtracy 14y ago
I would argue that if declaring up-front versus declaring as-needed makes a significant difference in readability, then your functions are too long.
- nostrademons 14y agoExcept for loop counters. Being able to do: for (int i = 0; i < len; ++i) { ... } vs. int i; // Half a dozen lines for (i = 0; i < len; ++i) { ... } makes a big difference to me.