by dimgl · 4y ago · 0 comments
> I wish I understood how people can say 'this will result in so much more weird boilerplate garbage code'
It's pretty simple: there's a lot of developers that misuse/shouldn't use generics.
Here's an article I found just casually browsing on Google that shows why this can turn out to be such a huge problem.
https://itnext.io/golang-1-18-generics-the-good-the-bad-the-...
What I don’t understand is why people insist on making Go like every other language that already does what that are looking for. You want a language with generics, purely functional blah blah blah, great there are tons of choices, use one of them. Why insist on reducing the diversity in language choice, and trade-offs?
Again I ask, why insist that go become the same as all the other languages when you can just use one of those? Why demand less diversity?
Also quitting the job isn't always an option.
That is why some of us have to put up with languages that we rather not.
The same is true for other features, like channels and goroutines.
But goroutines? I see much less abuse there. And they're so damn handy.
With generics, reading and reasoning about code becomes [even] more challenging.
Personally for me, at this juncture I'm finding that for new projects I might just as soon spring for Java or maybe even prefer it to Go. For the straightforward mvn-style dependency management, if nothing else.
It's all moot now, though. There's no going back, this puppy is cooked!
However contracting pays well, so I don't care.
You might want to reflect on your reasons for jumping ship because your tooling gained a new feature. Sound's rather irrational to me.
Avoiding updating to a new version of OSX that stabs you in the face is a reasonable thing to do, despite it being a new feature.
Sounds like it's just me.