I agree on the ADT part, but I think it is only one of the three major 
complaints brought up.

The other ones are:

   - Is no collection/doesn't implement Iterable/Stream/...
   - Is no monad/lacks map/filter/flatMap

It is certainly a bit confusing that he added ifPresent almost at the same 
time (which is more or less equivalent to a foreach).

Not sure whether it helps people learning the language or the new APIs when 
equivalent things are named differently throughout 
implementations/interfaces...

The positive thing is that I was already concerned that we would have two 
different Option/Optional types in the future and confusion which one to 
use, but that won't happen as far as I see. :-)

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/javaposse/-/CwTi1BvSFeEJ.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to