On Mar 4, 2014, at 11:03 AM, Tom Van Cutsem wrote:

> The benefit of "turn" is that I've seen this terminology used almost 
> exclusively for denoting an atomic turn of an event loop ("tick" is also 
> often used). By contrast, terms such as "task" are used much more broadly 
> (e.g. tasks scheduled on a thread pool). Just my 2c.

I think we can think of the entire scheduling mechanism described in the ES6 
spec. as an "event loop" in the sense you use the term, but the terminology get 
complicated by the fact the we will ultimately have (HTML today, ES in the 
future) a user level Event abstraction  and that some of the ("turns", "tasks", 
whatever ) scheduled via by the ES6 spec. mechanism will run "Event handlers" 
for the user level Event abstraction while other ('turns", "tasks", etc.) won't 
have anything to do with that abstraction.

So, we move the potential for confusion from between HTML and ES Tasks to 
confusion between ES Language level Events and ES engine level events.

Allen




> 
> 
> 2014-03-04 19:47 GMT+01:00 Mark S. Miller <[email protected]>:
> On Tue, Mar 4, 2014 at 10:39 AM, Tab Atkins Jr. <[email protected]> wrote:
> On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache <[email protected]> wrote:
> > Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock <[email protected]> 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?
> 
> I agree with Claude and others who feel that "turn" is confusing
> 
> Hi Tab, you are reading Claude's message in the opposite way that I am.
> 
> Hi Claude, which did you mean?
> 
> 
>  
> - in
> every outside use of "turn" as a noun, it refers to the time-slice in
> which you take actions, not the actions themselves.  It is sometimes
> used slangily to refer to "the things you did during the timeslice",
> like "Argh, your turn destroyed my plan, now I've got to think more.",
> but in general using "turn" to refer to an action feels extremely
> weird to me.
> 
> At least for me, this intuition comes from my long experience as a
> gamer of various sorts - this usage applies equally to card games,
> board games, video games, etc. 
> 
> I won't die if it ends up getting used, but I'd greatly prefer a different 
> term.
> 
> ~TJ
> 
> 
> 
> -- 
>     Cheers,
>     --MarkM
> 
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
> 
> 
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to