Several languages (e.g. Python, Javascript, Haskell, Scheme, and others) directly support the concept of closure[1]. Closures can be used among other things to simulate objects and method calls without the need of formal underlying OO infrastructure making for portable OO solutions.
This informal presentation will use Scheme to introduce the concepts of functions, lambdas, lambda evaluations, closures, closure evaluations, simulated-non-inheritance objects and method invocations, and simulated Smalltalk-like message passing between objects.
Several languages (e.g. Python, Javascript, Haskell, Scheme, and others) directly support the concept of closure[1]. Closures can be used among other things to simulate objects and method calls without the need of formal underlying OO infrastructure making for portable OO solutions.
This informal presentation will use Scheme to introduce the concepts of functions, lambdas, lambda evaluations, closures, closure evaluations, simulated-non-inheritance objects and method invocations, and simulated Smalltalk-like message passing between objects.