Y
Hacker News
new
|
ask
|
show
|
jobs
by
michielvoo
4614 days ago
imho C# has a nicer syntax:
yield return <expression>; yield break;
http://msdn.microsoft.com/en-us/library/vstudio/9k7k7cf0.asp...
1 comments
masklinn
4614 days ago
how is `yield return` and `yield break` nicer than `yield` and `return` exactly?
link
michielvoo
4611 days ago
Nicer than "function *" I meant.
link