A Rant on the Misuse of Instance Variables

When are instance variables the right tool, and when are they not? What are the alternatives? And what does an overabundance of instance variables mean? Here are my thoughts on clean object modeling in Ruby.

Meet Chunk and Partition, the Enumerators You're Not Using Enough Of

Chunk and Partition are two incredibly useful enumerators for grouping items. We'll explore them in this post, show an example of where they shine, and also look at some other grouping methods.