News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by VirusNewbie on Tuesday September 19, 2023 @06:43PM (#37578059)
Maybe a 100 devs Go is fine, but it gets to be a nightmare as you scale beyond that.

Language abstractions exist to prevent having developers build their own ad-hoc abstractions, and you find this time and time again in languages like Go. You can read the Kubernetes code and see what I mean, they go out of their way to work around some of the missing language features.

Re:Fixing for Loops in Go 1.22 by Cthulhu_ on Wednesday September 20, 2023 @05:46AM (#37582281)
Yeah, and that nightmare gets even worse in other languages; one motivation for creating Go was the use of C/C++ by thousands of developers at Google.

Can you link to some of these workarounds? I'm curious to see whether they actually make a lot of difference. In theory (and I have no experience with any software project with more than ten developers working on it), they only made it more difficult by adding cleverness.