From: James Gray Date: 2009-04-16T02:59:46+09:00 Subject: Re: lambda/proc/metaprogramming with Ruby On Apr 15, 2009, at 12:40 PM, rmagick@gmail.com wrote: > On Apr 15, 12:50 pm, Aldric Giacomoni <"aldric[removeme]"@trevoke.net> > wrote: >> Hi all, >> I'm looking for good tutorials which explain how to use the two >> tools of lambda >> and proc (which, ideally, would also help me learn how to think in >> such a fashion). >> I think that would solve the third issue as well: metaprogramming, >> aka writing >> code that writes code.. But if not, do you know of a good tutorial >> for that as >> well? :) > > Regarding metaprogramming, I highly recommend Dave Thomas' "The Ruby > Object Model and Metaprogramming" series of screencasts. Very clear > explanations, nicely narrated. Dave uses TextMate to demonstrate code > snippets. > > http://pragprog.com/screencasts/v-dtrubyom/the-ruby-object-model-and-metaprogramming > . I agree. That series is simply excellent. I also wrote a little bit about blocks and lambda on my blog a while back: http://blog.grayproductions.net/articles/code_as_a_data_type James Edward Gray II