Java 8 has officially arrived. This time with long awaited enchancements that opens the language to functional-style programming.

For a quick introduction to Java 8 functional programming elements comes video from Manning Publications.

Key roles here are:

  • Method as first-class citizens that allows to pass methods as references. That means less of anonymous class instantiating and less of duplicated code as behaviour can be controlled by method-predicate parameter.
  • Lambda expressions - concise, anonymous functions that make it possible to instatiate interface without use of classes, opens Java to more modern architecture of parallel programing


blog comments powered by Disqus