The 8th edition of JavaSE is a major feature release. It introduces language-level support for a functional programming style, through lambda expressions, streams and an enriched collections library. In this talk, these new features are covered by walking the audience through the code of a simple tile-based game. I will show how a significant part of the game logic appears more elegant and concise when encoded in a functional style, how to use parallel streams, functions such as map, reduce, foreach…etc and how Java compares to other functional languages.
Nosheen Zaza is a PhD student at Università della Svizzera italiana (University of Lugano - USI). She works in the programming languages research group with Prof. Nate Nystrom. Her main research interests are programming languages design, concurrent programming and distributed systems.