Main Content

"Design Patterns" in Ruby

A talk by Neal Ford

About the Talk

February 21, 2009 4:00 AM

The Gang of Four book was actually 2 books: a nomenclature describing common software problems and a recipe book for solutions. The vocabulary they defined is still useful. The recipes are a disaster! Ruby has powerful meta-programming facilities far beyond the languages encompassed by the GoF. It turns out that many of the structural design patterns in the Gang of Four book and beyond are much easier to solve with meta-programming.

This session compares and contrasts the "traditional" approach of design patterns with a more nuanced meta-programming approach. Using language features creates cleaner abstractions with fewer lines of code and little or no additional structure.

Ratings and Recommendations

Avg. Rating

Average based
on 2 ratings

comments powered by Disqus