drjdpowell Posted November 23, 2016 Report Share Posted November 23, 2016 (edited) Does anyone else use “Futures”-like features in their code? If so, a question about terminology. Four years after this conversation “Future Tokens” are a significant part my reuse code (“Messenger Library”) and I use them often for handling multiple “actor” loops as arrays. I was just reading the docs for the Akka actor extension for Java and Scala and they use slightly terminology for their equivalent feature. They “await” a “future”, while I “redeem” a "future token”. Which is better or more intuitive? I like “token” because this is a physical thing that represents something else (a message) that has yet to exist. But I like “await” because it stresses the fact that we block until the message actually arrives. Edited November 23, 2016 by drjdpowell Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.