Design Patterns in Ruby

Posted by Chris on October 03, 2006

One of the cool things about working at Dotway is the Design Patterns study group that we have. We have been meeting weekly/biweekly/sometimes for a while now and each time we discuss one of the GoF patterns in detail. We like to find out how they are used, what variations there are of them and how they are used in the .NET Framework (which is what we normally work with). However I thought I would use this as an opportunity to get to know Ruby better. So, I will try and write up an example of a Ruby implementation of each of the patterns we discuss. We are already through more than half of them so maybe I will be thinking about the ones we have already done as well.

I am not saying that my implementation is optimal, in fact in many cases it will only be an example. Please chime in with comments about alternative implementations or anything else if you want. The first pattern I will write about will follow this post immediately.


Trackbacks are closed.

blog comments powered by Disqus