From: Josh Cheek Date: 2011-01-14T07:09:22+09:00 Subject: Re: What is the difference between inject and reduce methods --001636af016f9a6ae30499c1911d Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jan 13, 2011 at 6:33 AM, Rick DeNatale wrote: > On Thu, Jan 13, 2011 at 6:30 AM, Josh Cheek wrote: > > > They are the same, I think the names are just to make people from > different > > languages feel at home. I think "inject" is from Smalltalk, and "reduce" > is > > from Common Lisp, and IIRC "fold" is from Scheme and Haskell. > > > > Interestingly, at the last RubyConf, Aaron Patterson and Rein Henrichs > were > > giving their presentations simultaneously, in different rooms, and both > of > > them criticized the use of this method :P > > > > > http://talklikeaduck.denhaven2.com/2010/11/26/how-arlo-got-injected-into-ruby > > Hah, I went and listened to that song, it was awesome! --001636af016f9a6ae30499c1911d--