|
|
|
|
|
by bvrmn
336 days ago
|
|
> Iterating over something requires knowing where you are in the sequence, so of course you would need to implement a method to get the current position of the iteration. No you don't. Other languages don't require it. There is no issue to get a position outside of iterator and it's more generic approach. |
|