Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C# made the same decision because it did not have closures initially, and so there was no practical way to observe the difference.

But Go did have closures initially, and worse yet, they already had C# as an example of how closures and loops interact. So they definitely had the opportunity to learn from that mistake, and I don't think it's unreasonable to ask why they did not.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: