Hacker News new | past | comments | ask | show | jobs | submit login

> In Go 1.22, each iteration of the loop creates new variables

This was previously discussed here:

https://news.ycombinator.com/item?id=33160236 - Go: Redefining For Loop Variable Semantics (2022)




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

Search: