spacedogroy@feddit.uk to Golang@programming.dev • 1 year agoFixing For Loops in Go 1.22 - The Go Programming Languageexternal-linkmessage-square3 fedilinkarrow-up119cross-posted to: golang@lemmy.ml
arrow-up119external-linkFixing For Loops in Go 1.22 - The Go Programming Languagespacedogroy@feddit.uk to Golang@programming.dev • 1 year agomessage-square3 Commentsfedilinkcross-posted to: golang@lemmy.ml
minus-squaremrkite@programming.devhexbear6·1 year agoSo it's not really a problem with for loops, it's a problem with closures inside for loops. linkfedilink
So it's not really a problem with for loops, it's a problem with closures inside for loops.