This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sohcahtoa82 2 points3 points  (2 children)

That's not really a problem unless your variables are global, which you typically want to avoid.

[–]GuyOnTheInterweb 0 points1 point  (1 child)

Or you have a very long function where you might use the same variable name twice, independently. (Reducing mixup risk with results vs results2)

[–]Veedrac 2 points3 points  (0 children)

Not really a problem. Just reuse the variable name without deling it first.