Quantcast
Viewing latest article 26
Browse Latest Browse All 29

Answer by Danil Gaponov for Why should Java 8's Optional not be used in arguments

I think that is because you usually write your functions to manipulate data, and then lift it to Optional using map and similar functions. This adds the default Optional behavior to it.Of course, there might be cases, when it is necessary to write your own auxilary function that works on Optional.


Viewing latest article 26
Browse Latest Browse All 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>