D vs. C#
Daniel Keep
daniel.keep+lists at gmail.com
Sun Nov 26 09:22:16 PST 2006
Julio César Carrascal Urquijo wrote:
> ... I wish D had a yield operator. Maybe for D 2.0.
Afraid I don't have the links on me, but Google for and look at
StackThreads; specifically the coroutine module. That lets you write
coroutines that use a yield *function*. D doesn't need yield to be an
operator: we get by just fine writing it as a library.
And I'm fairly sure you can't do that in C# :3
-- Daniel
More information about the Digitalmars-d
mailing list