[plt-scheme] Functional Abstraction in Java

From: hendrik at topoi.pooq.com (hendrik at topoi.pooq.com)
Date: Thu Jul 2 10:49:15 EDT 2009

On Wed, Jul 01, 2009 at 02:45:01PM -0400, Matthias Felleisen wrote:
> 
> I think an OO method should involve 'this'. If it doesn't, it's a  
> function. In this spirit, the command pattern for these abstractions  
               ^^^^

AHA!  This post is a method, not a function!

(And this ambiguity about 'this' is why I use "self' instead of 'this' 
-- when I get the chance.)

-- hendrik

> usually introduces functions -- though FP people know how to create  
> true closures with this, too.
> 
> 
> 
> 
> 
> On Jul 1, 2009, at 2:31 PM, Robby Findler wrote:
> 
> >Ha! :)
> >
> >In reality, I'm not sure I know what the spirit of OOP really is,
> >except that it must contain a heavy dose of FP (given Kay's comments),
> >so passing around what are really little functions should be at least
> >close.
> >
> >Robby
> >
> >On Wed, Jul 1, 2009 at 1:27 PM, Matthias  
> >Felleisen<matthias at ccs.neu.edu> wrote:
> >>
> >>Ah, I agree with you actually, which is why I weasled in the  
> >>letter "L" into
> >>my sentence. And HtCH says so!
> >>
> >>
> >>
> >>
> >>On Jul 1, 2009, at 2:17 PM, Robby Findler wrote:
> >>
> >>>On Wed, Jul 1, 2009 at 1:01 PM, Matthias  
> >>>Felleisen<matthias at ccs.neu.edu>
> >>>wrote:
> >>>>
> >>>>I consider both solutions in the spirit of OOPLs. -- Matthias
> >>>
> >>>Sorry -- didn't mean to imply that one wasn't in the spirit of OOP;
> >>>bad wording choice on my part.
> >>>
> >>>Robby
> >>
> >>
> 
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.