News for hackers. Stuff that matters.
Re:What is “Open Recursion”? by noelwelsh on Tuesday July 18, 2017 @06:47PM (#14800663)
Some communities distinguish between lambdas and closures, but some don't. In the (mainstream) functional programming community it is unusual to make this distinction.

The recursion in open recursion refers to the ability of an object to refer to itself (the 'this' or 'self' value) and the open bit refers to late binding (the value to which 'this' or 'self' is bound is open to change).

Agreed on the duality between closures and objects. Closures are a poor man's objects and objects are a poor man's closures, as the joke goes.

There are no comments on this comment yet.