In C/C++ this is important, especially with arbitrary iterators and pre/post increment semantics. Also, random access vs forward-iterators.

In Javascript it's more about aesthetics than anything else. Unless you're dealing with strings. "1"+1 is "11".

I would say that ++i is an idiom that's worth being consistent with.

JSLint is wrong.

Other ways to increment a variable in JavaScript
A friend of mine used the following phrase to tell me about Obama's visit to Malaysia this weekend (he told me this when it was not already the weekend):


  Obama is in town this weekend.


This phrase confused me, because it goes against what I was taught in school. Or at least, I think so, I am not a native speaker.

At least in my mind, the following is correct:


  Obama will be in town this weekend.


My friend, a native British English speaker, says that both are fine, but in his country people are more likely to use the first.

How is the first acceptable? Doesn't "is" mean that it is happening in the present?

Thank you.
