Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
michielvoo
· 13y ago · 0 comments
imho C# has a nicer syntax:
yield return <expression>; yield break;
http://msdn.microsoft.com/en-us/library/vstudio/9k7k7cf0.asp...
Comments
[–]
masklinn
13y ago
how is `yield return` and `yield break` nicer than `yield` and `return` exactly?
[–]
michielvoo
OP
13y ago
Nicer than "function *" I meant.