Several textbooks, including Javascript for Dummies (2005), show the
"i=++i" method of incrementing a variable. I have been using this
method but I have been recently informed by some experts in the Google
Maps API group that this method is confusing and wasteful of resources
and is now redundant and I should use "++i" or "i=i+1". Any strong
opinions in this group?
"i=++i" method of incrementing a variable. I have been using this
method but I have been recently informed by some experts in the Google
Maps API group that this method is confusing and wasteful of resources
and is now redundant and I should use "++i" or "i=i+1". Any strong
opinions in this group?
Comment