Ruby

Ruby Event Handlers

Posted on

After programming in Silverlight / .NET for the past few months, I’ve come to appreciate the beauty of the language’s built-in support for Events.  However, this also reminded me about how useless I’ve found Ruby’s Observable mixin to be.  So, I decided to write a Gem that would add support for .NET-style events to Ruby. […]

Ruby

Alternative to Ruby Observable

Posted on

Although Ruby is currently my favorite language, it has a few quirks that bother me. I think the common theme underlying all of these quirks is Ruby’s over-reliance on names. For instance, why must objects implement the update(…) method in order to respond to an Observable? Why can’t I forward the notification to any method? […]