From: Aldric Giacomoni <"aldric[removeme]"@...> Date: 2009-04-16T04:10:10+09:00 Subject: Re: lambda/proc/metaprogramming with Ruby James Gray wrote: > 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 > > Excellent - thank you to both! Incidentally, James, I saw online recently your presentation for Little Big Ruby and I really enjoyed it :) -- Aldric Giacomoni
A lifetime isn't nearly long enough to figure out what it's all about.