3 ms·
I think it’s more likely this is a minor/latent bug. Initializing the value and later assigning it a new value runs the risk of having some code that uses the
by Someone 4y ago
I think it’s more likely this is a minor/latent bug.
Initializing the value and later assigning it a new value runs the risk of having some code that uses the value of one expression and other code that uses the value (presumedly/hopefully identical to the former) of another expression.
That’s not a risk you want to take.
The name also doesn’t give me an indication they considered making the code agnostic as to the size of that variable.