From: Robert Dober Date: 2008-05-10T04:32:12+09:00 Subject: Re: "Real" Differences Between Python & Ruby On Fri, May 9, 2008 at 8:01 PM, Max Cantor wrote: > On Fri, May 9, 2008 at 1:29 PM, Avdi Grimm wrote: >> On Fri, May 9, 2008 at 1:13 PM, Max Cantor wrote: >>> For example: No matter which >>> way you slice it, "arr.each { |item| item.foo }" and its underlying >>> implementation is unique to Ruby >> >> It is? > > Is there another language out there that lets you pass a "literal" > block of code as a virtual argument so the called method can push > arguments into the code block specified by | |s? Of course, with minor syntactic change. It's called Smalltalk IIRC ;) Robert http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein