Main Content

"Design Patterns" in Dynamic Languages

A talk by Neal Ford at OSCON 2009

About the Talk

July 23, 2009 1:20 PM

San Jose, CA

San Jose, CA

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! Dynamic languages (like Groovy and Ruby) have powerful meta-programming facilities far beyond statically typed languages. 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. This session shows one of the many reasons that dynamic languages are such a hot topic.

Ratings and Recommendations

Avg. Rating

Average based
on 1 rating

comments powered by Disqus