From: "David A. Black" Date: 2009-02-18T10:38:57+09:00 Subject: Re: What are your favorite Ruby features? Hi -- On Wed, 18 Feb 2009, Robert Dober wrote: > On Tue, Feb 17, 2009 at 10:45 PM, David A. Black wrote: >> Hi -- >> >> I'm not sure I quite understood. Can you recap your suggestion? > > Gladly, let us ponder why lambdas are not used more although everyone > likes them so much. > That does not mean that we shall use them more (though that is my > guess), but only that we might not be able to tell if we do not try. > > What kind of confused me was your metaphor with food, of which, when I > took it up, you said: "well one cannot compare with food" ... > And that somehow was a show stopper which I found a lit bit a pity. I didn't actually say that, but the food analogy isn't really worth a whole analysis. > No big deal of course, nobody seems to be interested anyway ... I think what I was saying mainly was: even if I like, say, string interpolation, that doesn't mean that I get pleasure out of placing "#{}" into my programs as often as I can, nor that I think I should look for ways to write programs with string interpolation. I don't think that's what it means to like a language feature. Of course there are language features that one might want to use more because they solve particular problems, or do things better than other ways, but those may or may not be the ones I would put on an informal list of my favorite bits of Ruby. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) Ruby Training Atlanta! April 1-3, http://www.entp.com/training/atlanta09