News for hackers. Stuff that matters.
Re:Modern Java – A Guide to Java 8 by kodablah on Monday November 16, 2015 @02:18PM (#10576461)
Java does not have a full FP story, so to bastardize newer code as though it does becomes unreadable IMO. The "and" was just for the example, since "..." wouldn't have made it clear. I do not find it more readable personally, but that is a personal opinion. Because other code eagerly returns (doesn't usually bother me in an imperative language) is a different problem with code path complexity that can be addressed elsewhere. There is still a practicality in normal conditionals and traditional linear paths.
Re:Modern Java – A Guide to Java 8 by mabbo on Monday November 16, 2015 @05:40PM (#10577816)
I don't disagree that FP doesn't feel complete in Java yet. But that doesn't mean I'm not totally willing to start playing with what I've got!

The biggest worry I have right now is the story on debugging code with Optional bastardized FP. I know I'm going to learn some lessons soon enough, lol.