News for hackers. Stuff that matters.
Re:Ask HN: Why Python over Ruby? by sreque on Wednesday July 01, 2009 @01:25PM (#683005)
Ruby 1.9 has real iterators now.
Re:Ask HN: Why Python over Ruby? by Freaky on Wednesday July 01, 2009 @08:55PM (#683662)
They're in 1.8 now too:

    >> [1,2,3].each
    => #<Enumerable::Enumerator:0x801820f10>
    >> RUBY_VERSION
    => "1.8.7"
Re:Ask HN: Why Python over Ruby? by stephencelis on Wednesday July 01, 2009 @10:58PM (#683769)
They've been around for awhile

    >> RUBY_VERSION
    => "1.8"
    >> require "enumerator"
    => true
    >> [1,2,3].each
    => #<Enumerable::Enumerator:0x29326940>