I mean, C#'s IEnumerator is equivalent and is way more complex. You just don't need to think about it much.