12 things you can do better with Java8

TMW some different "baroque" code examples can work much better (more readable, concise, easier to maintain etc) with modern Java.

Abstract

Java8 has been around for a few years now. We’ve happily used it in many projects, enjoying the Streams API, new asynchronous programming model and the declarative style of coding. So why now? Because it’s just now that many enterprises migrate from old Java versions (like 6 or 7) towards JDK8, have a massive amount of legacy code which cannot be pruned but needs evolving.

This talk covers different "baroque" code examples which can work much better (more readable, concise, easier to maintain etc) with modern Java. Various Java8 elements will be covers: from new language elements (streams, default methods), through new API methods (on maps, collections), better I/O handling, to using lambdas to make the test code more readable. Focusing on small, dedicated steps - where Java8 can really help is crucial for developers happiness and productivity. This talk requires no practical, prerequisite knowledge of Java8 (but some basic awareness of new features would be helpful).

Workshop

This talk has evolved into a more extended form of a workshop. This is a refactoring lab, covering different "baroque" code examples which can work much better (more readable, concise, easier to maintain etc). Various Java8 elements will be covers: from new language elements (streams, default methods), through new API methods (on maps, collections), better I/O handling, to using lambdas to make the test code more readable. Why now? Because it’s just now that many enterprises migrate from old Java versions (like 6 or 7) towards JDK8, have a massive amount of legacy code which cannot be pruned but needs evolving. Focusing on small, dedicated steps - where Java8 can really help is crucial for developers happiness and productivity. This workshop require no practical knowledge of Java8 (but some basic awareness of new features would be helpful)

Polish abstract

12 rzeczy z Java8 o których musisz wiedzieć, aby Twój kod był mniej barokowy

Java8 to nie jest aktualnie żadna nowość. Niektórzy z nas radośnie używają "ósemki" w projektach, ciesząc się Streams API, programowaniem asynchronicznym itd. Więc po co taki temat? Ponieważ to jest także czas gdy wiele korporacji, większych firm zaczyna migrację JDK7, JDK6 (a czasem starszych) właśnie na Java8. I tam właśnie znajdziemy masę legacy kody który można stopniowo przekładać na prostsze konstrukcje.

Podczas warsztatu przejdziemy przez różne "barokowe" konstrukcje w Javie i przyjrzymy się jak można to zrobić lepiej (czytelniej, efektywniej). Java8 to zmiany w języku (lambda, domyślne metody), nowe API (strumienie) itd; zobaczymy jak praktycznie wykorzystać nowe konstrukcje.

Polish abstract lead

Java8 to niby żadna nowość. Niby jest od lat. Ale dopiero teraz jest moment gdy wiele korporacji zaczyna migrację na "ósemkę". Przy tej okazji dostajemy wiele legacy kodu, który można przekładać na prostsze konstrukcje. W tej prezentacji właśnie tym się zajmiemy: lepiej z Javą8