Skip to content

Comment on Java's Original Sinparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.