News for hackers. Stuff that matters.
Re:Java Without If by ebola1717 on Saturday January 28, 2017 @01:59AM (#13505286)
IMO it's the eta-reductions that are terrible for readability. I think the following is fine:

    Optional<String> x = Helper.functionOne()
                           .map((descriptiveName) => Helper.functionTwo(descriptiveName))
                           .flatMap((descriptiveName) => Helper.functionThree(descriptiveName));

There are no comments on this comment yet.