Hacker News new | ask | show | jobs
by hdjrudni 14 days ago
> That one actually shows what the variable is initialized to. This one doesn't. reply

Which variable? `i` is clearly initialized to `0` and `it` doesn't have an initializer per se... it starts at the first value of the container.

It almost seems like an abuse to put 2 unrelated things in the `for(...)` but that's what they did.