Menu

#9 revisit "promise" vs "vow" etc.

open
terminology (5)
6
2001-08-11
2001-08-11
No

Right now, "Promise" is used as a noun in the reference taxonomy hierarchy, above "LocalVow" and "RemoteVow". This is confusing.

Also, as recently clarified with MarcS, the "promise" in "to promiseTemperature()", for example, is used as a verb-prefix in a message name to warn the caller that the callee should be *expected* to return a promise that should be *expected* to resolve to a near object, that will represent the temperature. This meaning doesn't directly correspond to any of the three nouns above, but is a meaning that deserves a verb-prefix-name.

Current fallback resolution:

Change the noun hierarchy to

Vow
LocalVow
RemoteVow

and keep the current use of "promise" as a verb prefix.

Discussion


Log in to post a comment.