[concurrency-interest] Please clarify Javadoc of CompletableFuture.thenCompose()

Tim Peierls tim at peierls.net
Mon Dec 1 08:54:28 EST 2014


On Sun, Nov 30, 2014 at 7:59 PM, cowwoc <cowwoc at bbs.darktech.org> wrote:

> The CompletableFuture documentation is extremely difficult to comprehend
> (much more so than other j.u.c classes). Keep in mind that I am coming at
> this with full comprehension of Javascript Promises (having used them daily
> for over 6 months). I can't imagine people with no prior exposure to
> Promises managing to get this working.
>

I actually think the CompletionStage/CompletableFuture docs are pretty
good, barring the few glitches mentioned in this thread. They provide
neither a from-scratch tutorial nor a how-to for Promises users, nor should
they.



> On a related note, I find Generics compiler error messages to be extremely
> cryptic ...
>

You're not alone, but this discussion belongs elsewhere.

--tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20141201/867f697a/attachment.html>


More information about the Concurrency-interest mailing list