From: James Gray Date: 2008-01-09T05:11:06+09:00 Subject: Re: design patterns in ruby: any good? On Jan 8, 2008, at 2:03 PM, Giles Bowkett wrote: >> Nice review, but coverage of the GoF patterns? But I've read so many >> otherwise intelligent folks say that the GoF patterns were created to >> address the limitations of less flexible languages, and that there's >> no need for them in a language as powerful as Ruby... >> >> What gives? > > I was wondering about that myself. Ruby isn't immune to design patterns. Some patterns are very trivial in Ruby (Visitor is basically just a method that takes a block), and some others don't make as much sense in Ruby (Factory isn't nearly as important with classes being objects themselves). Ruby also inspires some new patterns, I believe. The ideas that led to the design patterns and many of the patterns still apply to Ruby in some fashion though. James Edward Gray II