|
|
|
|
|
by nmadden
615 days ago
|
|
> each assignment is creating a new scope No, it’s rebinding the variable within the same scope. Even if you view it as implicitly creating a new scope, the implicit part means it can happen on any line so you have to scan them all and mentally keep track of what changes where, (almost) exactly as you would for imperative code. |
|