News for hackers. Stuff that matters.
Re:Ruby vs. Python comes down to the for loop by gilbetron on Friday November 12, 2021 @10:20AM (#29200072)
Seems odd to not talk about Python generators in an article about this topic.
Re:Ruby vs. Python comes down to the for loop by softwaredoug on Friday November 12, 2021 @10:22AM (#29200087)
Author here - True! though generators are a specialization of iterators discussed in this article. I had considered it, but didn't want to get too bogged down.