Re:Closures and Objects Are Equivalent
by mytochar on Sunday April 12, 2015 @05:34PM
(#9364816)
Java's Runnable interface was an example of this in practice. Rather than passing a function, you passed an object whose primary purpose was to carry around a function that would be called.
becomes
or the longer form
[ Parent
| on HN ]
There are no comments on this comment yet.