Le 20/09/2014 10:56, Frank Shearar a écrit :
I am facing quite some people who are in the FP bandwagon and wonder how to bridge with their views. Like classes are just functions etc.
The article that convinced me that objects are higher order functions (that close over a set of variables) is here: http://letoverlambda.com/index.cl/guest/chap2.html
The meat of the article (as far as class/object/function correspondences goes) starts at "Let over Lambda".
frank
Phil
Woaw, very interesting, thank you for sharing :) Coding in dotnet at work, I sometime think about smalltalk objects methods as a set of lambda within a scope : the "object". To me, lambda use in c# lacks of organization and somehow leads to anarchy, functional programming fills this gap with a different way of thinking (I had fun doing some f# workshops at ms tech days). Your high order assumption is intriguing, I have to figure it. I often wondered myself how to visualize methods and message flow in Roassal (I feel that perception and representation is a key here) Regards, Alain