Not just methods -- classes should have been first-class objects!
Unfortunately, vocational Java programmers are terrified of anything that resembles metacircularity. There's a depressing tendency to just label anything mildly functional as 'closures'.
Comments
Not just methods -- classes should have been first-class objects!
Unfortunately, vocational Java programmers are terrified of anything that resembles metacircularity. There's a depressing tendency to just label anything mildly functional as 'closures'.
You've noticed that too? I spent six months confused, wondering why most of the so-called closures in Java examples were merely first-class functions.