Grzegorz Rożniecki | Devoxx

Grzegorz Rożniecki
Grzegorz Rożniecki Twitter

From Akamai

Grzegorz is a software engineer who enjoys learning and likes sharing his knowledge. He's also a big GNU/Linux fan and Open Source Software advocate. He has developed software in various languages, including Perl, JavaScript, Java, Python, PHP and Lisp (and experimented with few others). Currently dealing with big data at Akamai.


java Java Language

The Seven Sins of Optional


It’s been three years since (among lambdas and streams) we’ve been using Optional in Java ‒ the monadic construct which makes our code much more pleasant (who likes nulls anyway?). Or does it?

This quickie will be all about Optional ‒ tiny JDK8 addition which caused a big fuzz in the community, even before it was released. I’ll try to point both good and bad Optional usages (especially the bad ones) and also mention very handy additions in upcoming JDK9.