Y
Hacker News
new
|
ask
|
show
|
jobs
by
frou_dh
4730 days ago
C# had the exact same pitfall and it was recognised years ago. It's unfortunate that it made it in to Go.
1 comments
shakesbeard
4730 days ago
Did they introduce a language solution for it in C#?
link
jared314
4730 days ago
C# 5.0 is changing the behavior of the loop variable to be logically inside the loop [0].
[0]
https://news.ycombinator.com/item?id=3477629
link