Revision e65c5264cba8f9feb2f288bfcd073deb512c8fa2 authored by Sascha Mann on 07 December 2020, 21:54:12 UTC, committed by GitHub on 07 December 2020, 21:54:12 UTC
Many iterators have an internal counter of iterations for the abort condition, e.g. `Squares` in the example. When implementing such an iterator while following this example, the naming can be a bit misleading because `i` in the example is _not_ a counter but instead the next item of the iteration. However, `i` is also commonly used as a counter in iterations.

I think renaming it to `item` makes it a bit clearer.

(cc @miguelraz)
1 parent b58e879
History
File Mode Size
Dockerfile -rw-r--r-- 140 bytes
devcontainer.json -rw-r--r-- 134 bytes

back to top