ES6 Tasks and TaskQueues
Mark S. Miller
erights at google.com
Tue Mar 4 08:32:15 PST 2014
On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache <claude.pache at gmail.com> wrote:
> Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock <allen at wirfs-brock.com> a
> écrit :
> > I don't think this use of the word "turn" is broadly enough known to
> provide many spec. readers an immediate intuitive feeling for the concept.
> It seems to me that the word "turn" is widely used in that sense for
> turned-based games such as chess, so that it has a good chance to be
> understood. Or am I mistaken?
Thanks Claude, this was indeed part of my rationale in choosing the term.
Each player in playing a board game engages in activity that occurs over
the course of play. But this activity is broken up into a series of turns.
Each turn is atomic, and is the unit of interleaving among the activities.
The overall activity of any one player can change course over time, in
reaction to state changes caused by previous turns.
The other reason is more kinesthetic/visual. It plays well with the term
"event loop", as in each turn is another twist of the event loop. This
comes out especially well in some of Tom's diagrams at <
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss