[Issue 11880] Reserve the keyword "yield"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 11 04:39:11 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11880



--- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-01-11 14:39:01 EET ---
(In reply to comment #4)
> Do you have an example usage syntax (and implementation)?

You posted this 5 years ago:
http://forum.dlang.org/post/g7uhp6$317g$1@digitalmars.com

There are other, similar implementations.

> And is it going in Phobos?

I don't know of any plans for that.

> What about Issue 5660 ?

The same arguments apply there too. I see people posted their own coroutine
implementations there as well.

> This is the syntax I suggested, I think it's readable. What's the more readable
> usage syntax that you suggest?

My argument is that the cost of introducing a breaking change in the language
is not justified for the sake of syntax sugar.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list