Here is one big problem I have with meteor’s use of futures: they work on the server, but not the client. This seems pretty inconsistent with the complete design of Meteor: it’s supposed to be a complete stack but acts inconsistently on client and server because there are no futures.
This makes it easier to use promises on both client and server, which are just wraps around futures on the server.
So my question: why don’t we have client futures? As in, something that acts like futures on the client.
Well, futures are not possible on the client, and that’s indeed an annoyance.
However, it doesn’t really matter to much, since you’re usually not dealing with futures directly and most of the async stuff happens in sync on the server, so the API you use is still the same.
Promises is another API, which kind of ruins the synchronous-looking code.