Summary

In this chapter, we studied iterators,  a programming construct very near to a mathematical description of iterative methods. You saw the yield keyword and met finite and infinite iterators.

We showed that an iterator can be exhausted. More special aspects such as iterator comprehension and recursive iterators were introduced and demonstrated with the help of examples.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.231.15