News for hackers. Stuff that matters.
Re:Kotlin: A New Hope in a Java 6 Wasteland by NhanH on Monday September 28, 2015 @02:14PM (#10291981)
Java functions are still not first class. The headline feature of Java 8 was lambda function, which arguably isn't first class either (they are implemented as instances of object subtype, so essentially still is object nonetheless)
Re:Kotlin: A New Hope in a Java 6 Wasteland by steveklabnik on Monday September 28, 2015 @07:54PM (#10293949)

  >  so essentially still is object nonetheless
http://www.c2.com/cgi/wiki?ClosuresAndObjectsAreEquivalent
Re:Kotlin: A New Hope in a Java 6 Wasteland by adrusi on Monday September 28, 2015 @04:15PM (#10292882)
They also don't close over their parent scope.
Re:Kotlin: A New Hope in a Java 6 Wasteland by jnericks on Tuesday September 29, 2015 @06:49PM (#10300365)

  // this hack is gross  
  final String[] val = new String[1];  
  Callable func = () -> val[0] = "Hello";  
  func.call();  
  System.out.print(val[0]);