News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by pdimitar on Wednesday September 20, 2023 @09:20AM (#37583776)
I don't write much Golang -- mostly using it for my own needs because it allows quick iteration but haven't made a career out of it -- but for any such cases I just extract out the function. I deeply despise such inline declarations, they are a sign of somebody trying to be too clever and that inevitably ends up inconveniencing everyone else, their future selves included.

There are no comments on this comment yet.