Content pfp
Content
@
0 reply
0 recast
0 reaction

Joe Petrich 🟪 pfp
Joe Petrich 🟪
@jpetrich
I'm unreasonably excited for this change to loop scoping in go, though I'll miss seeing the rite of passage that is every new go dev making this "mistake" https://go.dev/blog/loopvar-preview
2 replies
0 recast
4 reactions

yixinrock pfp
yixinrock
@yixinrock
Yeah, it’s a common “mistake”. The bed experience is, when I use ChatGPT to refactoring my code, always remove the assignment loc.
1 reply
0 recast
0 reaction

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
Oh man it's been a while since I run into that scoping issue since I don't use Go that much anymore. Glad they're finally fixing it.
0 reply
0 recast
0 reaction