Fix shadowing variable
fix using two different objects with same name, may cause problems
#2 Updated by Ilya S over 8 years ago
yes, it isn't in this case, but may cause, because you create two different objects in same scope. Do you really think that's ok? Why do you rely on assumption that this piece of code will interprete right, instead of write it right?
and one more thing: code like this really hard to read, and maintain.