Tweet

Friday, March 6, 2020 1 min

When you need a counter while iterating over a list: Enum.with_index is your friend.