Comment on Clojure core.async and Go: A Code ComparisonparentComments−frou_dh13yC# had the exact same pitfall and it was recognised years ago. It's unfortunate that it made it in to Go.−shakesbeard13yDid they introduce a language solution for it in C#?−jared31413yC# 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
Comments
C# had the exact same pitfall and it was recognised years ago. It's unfortunate that it made it in to Go.
Did they introduce a language solution for it in C#?
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