DBS ITT Lunch and Learn Tech Sharing September 2014
Topic: Java 8, The New Journey
Speaker: Dejie Lin
Many popular programming languages nowadays have a language feature known as "lambdas" aka "closures". Not only the classic functional languages such as Lisp or Scheme, but also younger ones such as JavaScript, Python, Ruby, Groovy, Scala, C#, and even C++ has lambdas. Some of these lambda-supporting languages run on the Java Virtual Machine, and, naturally, Java as the most prominent programming language on the JVM did not want to be left behind. A discussion regarding the addition of lambdas/closures began in 2006.
▪ 2006 – Gosling: “We will never have lambda in Java”
▪ 2007 – 3 different proposal for lambda in java, but the conclusions weren’t converge..
▪ 2008 – Mark Reinhold: “We will never have lambdas in Java”
In 2009 the effort grounded to a halt and it ultimately looked like Java would never ever be extended by a lambda or closure feature. Consequently, Java's immanent decline as a vibrant programming language was predicted and the slogan of "Java is the new Cobol" was born.
Better late than never. Java 8 was released on Mar 2014, with full fledged features of Functional Programming, Lambda expression, Stream, Default Method, Parallel almost free, new Date/Time API, ForkJoinPool, StampedLock, more and more. And the new journey begins..