Ruby's Arrays are remarkably flexible and useful data structures, but they aren't always the right choice. Learn how using a data abstraction that enforces uniqueness can prevent bugs, while making …
Tag: collections

Episode 524: Data Munging Play-by-Play Part 2 with Avdi Grimm
Part 2/2 of a play-by-play of a recent Ruby data-munging coding session. More fun with regexes, lazy enumerators, and more!

Episode 523: Data Munging Play-by-Play Part 1 with Avdi Grimm
Check out this play-by-play of a recent Ruby data-munging coding session, with commentary on live/fast feedback, lazy enumerators, and more!

Episode #478: Combination
Understand when and how to use Ruby's array combination methods.

Episode #476: Group By
Grouping data by various properties is easy in Ruby, and there are more uses for it than you might think...