`i += 1` is more common in Spark code base.