Content
@
0 reply
0 recast
0 reaction
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
@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
Joe Petrich 🟪
@jpetrich
smh. I wonder if Bard is any better at it, if it's trained on Google's code it would be familiar with the pattern
0 reply
0 recast
0 reaction