The Seven Sins of Optional
Quickie
Java Language | |
Room 3 (Sabre) |
Thursday from 12:30 til 12:45 |
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. JDK 8 Optional JDK 9 monads code smells |
Grzegorz Rożniecki |
---|
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. |