News for hackers. Stuff that matters.
Re:Fixing for Loops in Go 1.22 by hagbarth on Tuesday September 19, 2023 @04:32PM (#37576107)
One of the reasons I like Go is that it really doesn't try to be a hipster language. It's kinda boring, which is great!
Re:Fixing for Loops in Go 1.22 by Philip-J-Fry on Tuesday September 19, 2023 @05:30PM (#37577041)
Boring is good when you want to build things that are maintainable by 100s of devs.

Something we have experienced over and over is that devs moving from languages like C# or Java just love how easy and straight forwarding developing in Go is. They pick it up in a week or two, the tool chain is just so simple, there's no arguing around what languages features we can and can't use.

Almost everyone I've spoke to finds it incredibly productive. These people want to be delivering features and products and it makes it easy for them to do so.

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.