miércoles, 3 de enero de 2018

Lazy Java - Mario Fusco (18/01)

Hi devs !!!

We continue this year 2018 with a great speaker Mario Fusco and a very interesting topic : lazyness ( a purpose for this new year ? ;) )

Like all imperative languages Java is, with some minor but notable exceptions, an eagerly evaluated programming language. Nevertheless the introduction of lambdas in Java 8 also allowed the adoption of some lazy patterns and data structures that are more typically employed in functional languages. Streams represent the most evident example of how also native Java API has taken advantage of laziness, but there is a number of other interesting scenarios where laziness can be an effective solution to quite common problems. In fact laziness is the only possible technique to process potentially infinite amount of data, or more in general to delay the expensive evaluation of an expression only when and if it is necessary. But laziness is even more than that: for instance the reader monad delays not only a computation but also the need of external dependencies thus lowering the abuse of dependency injection, while a trampoline uses laziness to delay and then linearize recursive calls preventing the overflow of the stack. The purpose of this talk is illustrating why and how implementing laziness in Java with practical examples delivered with both slides and live coding sessions.

Mario is a senior software engineer at Red Hat working at the development of the core of Drools, the JBoss rule engine. He has a huge experience as Java developer having been involved in (and often leading) many enterprise level projects in several industries ranging from media companies to the financial sector. Among his interests there are also functional programming and Domain Specific Languages. By leveraging these 2 passions he created the open source library lambdaj with the purposes of providing an internal Java DSL for manipulating collections and allowing a bit of functional programming in Java. He is also a Java Champion and the co-author of "Java 8 in Action" published by Manning.

Hope you can make it and we can finally meet there.


This year to prevent the no-show effect for those people that register and never come and to avoid problems to our sponsors ( buying food for not present people ) and to us ( searching for bigger rooms ), we'll charge 2 EUR to everyone registering and we will give back that amount for those that really attend the event.

Don't forget to register

Happy coding

No hay comentarios:

Publicar un comentario