[plt-scheme] Re: Thinking in FP vs OOP for large scale apps

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed May 16 07:56:43 EDT 2007

You may also want to look at the draw.* package that comes with  
ProfessorJ and the (upcoming second volume of How to Design) Classes.  
It is an applicative approach to some GUI programming using classes  
and objects. Because of the implicit 'this' parameter, I consider it  
superior to FRP.

For now just look for teachpacks in Help Desk and follow the HtDC link.

-- Matthias






On May 16, 2007, at 3:46 AM, YC wrote:

>
> On 5/15/07, Grant Rettke <grettke at acm.org> wrote: > GUIs are a  
> perfect example to think about using a functional solution.
> > So, think about it...it would be terrible!!!
>
> I think the same, but I just found that there is a style of FP  
> called Functional Reactive Programming that purportedly models GUI  
> more declaratively than OOP's handlers & events.  Flapjax and  
> FrTime are working implementations of FRP.
>
> http://citeseer.ist.psu.edu/cooper04frtime.html
>
> http://www.flapjax-lang.org/
>
> http://www.haskell.org/frp/
>
> It seems that I found more links w.r.t to functional style in  
> Haskell on the net maybe due to Haskell being pure functional...
>
> Thanks,
> yinso
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.