Timeline
Generators first appeared in CLU (1975), were a prominent feature in the string manipulation language Icon (1977) and are now available in Python, C#, JavaScript, Ruby and other languages. In CLU and C#, generators are called iterators, and in Ruby, enumerators.
Read more about this topic: Generator (computer Programming)