Ruby design patterns and idioms

  • Thread starter Jack Christensen
  • Start date
J

Jack Christensen

I've read Design Patterns and similar material. While I've certainly
picked up some good ideas, it seems that most of the techniques are
simply the normal ruby way, or are only necessary for lower level
languages and aren't applicable.

There are a lot of really useful things that can be done with
method_missing, duck-typing, closures, reflection, all the
metaprogramming stuff, etc. Most of what I understand of that comes from
looking through the source of ruby projects.

Are there any books or other resources on design patterns or techniques
specific to dynamic languages?

Jack
 
D

Dido Sevilla

Are there any books or other resources on design patterns or techniques
specific to dynamic languages?

I have an old issue of Dr. Dobb's Journal (August 1997), that has an
article entitled: "Dynamic Design Patterns in Objective-C: Dynamic run
times affect how programs are designed and built". While the article
focuses mainly on Objective-C and gives some examples from the
NeXTStep Runtime (today in use as Mac OS X's Cocoa), the dynamic
runtime of Objective-C is sufficiently similar to Ruby's that many of
the same principles apply. Apparently, the full text of the article
is available here:

http://202.179.135.4/data/DDJ/articles/1997/9708/9708d/9708d.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top