Re:Data Race Patterns in Go
by jchw on Saturday June 11, 2022 @10:16AM
(#31704588)
I do pretty much agree there, but also, I'm not sure that solves a whole lot of problems in the frame of Go. Since Go lacks ownership or constness as a concept, it would be weird if there weren't convenience functions for e.g. appending to a slice, because it's always possible for that to be done; if the language didn't do it, the end users could certainly write the function themselves. I think they would've needed to expand the language in order to make meaningful improvements to slices.
[ Parent
| on HN ]
There are no comments on this comment yet.