From: ser@... (Sean Russell) Date: 2004-07-11T04:02:29+09:00 Subject: Re: Functional Ruby (Re: Why I don't use Ruby.) Martin DeMello wrote in message news:<2DLHc.994640$Pk3.653188@pd7tw1no>... > I'd say that the difference between a function and a method is that a > method has a distinguished argument, 'this', *within whose scope it > runs*. It's not a matter of Obj knowing about foo, or foo knowing about > Obj, it's a matter of Obj defining its own personal scope within which > foo is run. I'd agree with this, although this is usually more of an implementation than a paradigmatic distinction. OO defines methods as messages sent to objects. --- SER