In No more Ifs I wrote a little bit about the new Optional class in Java 8. It enables the developer to work with optional values without a complex nested structure of if-then-else expressions. A colleague of mine, being a big fan of Kotlin, dropped a hint that using Kotlin, it would be much easier. He could even prove it. 🙂
Continue reading
Functional Programming
Everything related to functional programming, totally independent from any programming language.
No more ifs – an application of functional programming in Java
Java 8 introduced with Optional
a functional datatype that enables the developer to work with optional values without nested if-statements. This can simplify your code a lot.
You must be logged in to post a comment.