« Return to Thread: Yield should be renamed call_block

Re: Yield should be renamed call_block

by Chad Perrin :: Rate this Message:

Reply to Author | View in Thread

On Mon, Jul 09, 2007 at 09:32:26AM +0900, Simen Edvardsen wrote:

> >
> >Intuivitely, a function yields its hold of the Vm/interpreter to its
> >caller. "Yield" is also used in some cooperative-threading
> >implementations, in which a thread yields control to the scheduler. I
> >don't think the name is unintuitive at all. Besides, keywords should
> >be short, conscise, and why in the name of the Language Designer gods
> >should there be an underscore in a keyword?!
>
> "Intuivitely, a function yields its hold of the Vm/interpreter to its
> caller." should be "Intuivitely, a function yields its hold of the
> Vm/interpreter to its
> block", of course.

s/Intuivitely/Intuitively/

(as long as we're correcting stuff)

--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Dr. Ron Paul: "Liberty has meaning only if we still believe in it when
terrible things happen and a false government security blanket beckons."

 « Return to Thread: Yield should be renamed call_block