From: Rick DeNatale Date: 2011-01-13T21:33:34+09:00 Subject: Re: What is the difference between inject and reduce methods 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 -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale