Ruby

Using Ruby's #.extend on instances to avoid modifying a base class
Making a Scrabble word-finder by adding subtraction and overloading the subset operator on #.tally supplied frequency hashes Continue reading Using Ruby's #.extend on instances to avoid modifying a base class

Using Ruby enum_for to implement multiple paths enumerating the same Enumerable
Idiomatic breadth-first versus depth-first tree-traversals in Ruby Continue reading Using Ruby enum_for to implement multiple paths enumerating the same Enumerable