News for hackers. Stuff that matters.
Re:Project Valhalla: A look inside Java's epic refactor by kaba0 on Sunday December 03, 2023 @03:06AM (#38505642)
It has had those for a decade now.
Re:Project Valhalla: A look inside Java's epic refactor by fulafel on Sunday December 03, 2023 @11:03AM (#38508034)
The Java 8 additions are sugar for OO interfaces that help doing things similarly as if you had first class functions. But like before, only primitive types and objects are actually first class things.
Re:Project Valhalla: A look inside Java's epic refactor by kaba0 on Sunday December 03, 2023 @11:12AM (#38508103)
To mark it as non-first class, you have to provide something it doesn’t support.