Initially, iteration was a difficult concept for me to grasp. It wasn’t until I had practiced using iterators like #each and #collect in Ruby that I began to understand how these processes allow you to do interesting things with elements in an array or hash.
Here are my 3 reasons.