News for hackers. Stuff that matters.
Re:A concise guide to the latest Go generics draft design by jasonwatkinspdx on Thursday June 18, 2020 @12:47PM (#23564945)
> I don't think people consider this tradeoff very often.

Every single time generics in go is discussed, a sizeable fraction of the comments are FUD about go inevitably turning into Boost. People consider the tradeoffs often, but in a superficial and dogmatic way based on language tribalism rather than actually looking at the proposal in detail and actually considering the tradeoffs.

Re:A concise guide to the latest Go generics draft design by throwaway894345 on Thursday June 18, 2020 @01:37PM (#23565487)
You've misunderstood the debate. The concern isn't about Go turning into Boost; it's about Go becoming multiparadigm--about losing the property that "all Go code tends to be written in the same general way" and that people will invariably write code that optimizes for abstraction instead of readability and utility as invariably happens in other languages. If you're not used to Go, you'll probably write this off very quickly because you underestimate (as we all did before we tried Go) how nice it is to have standard, appropriately-abstract code. This is why the debate inside the Go community is more nuanced and amicable--people understand the tradeoff better; they're not shouting uninformed opinions nor pretending there is no tradeoff or that the tradeoff is "just FUD" based on their utter inexperience.
Re:A concise guide to the latest Go generics draft design by cy_hauser on Thursday June 18, 2020 @08:34PM (#23569749)
> about losing the property that "all Go code tends to be written in the same general way"

I understand what you're saying but I think (hope?) you're going to be found wrong here. I think that:

(1) very quickly "generic" code will come to be written in a fairly standard way that's accessible to any who cares to spend just a bit of time to know it.

(2) there will be a lot less generic code than concerned Gophers think. I think the generic code will end up in libraries but not so much in application code. Except, of course, in code that uses generic libraries. But using generic code is much more understandable than writing it.

Should be interesting to see how it all shakes out if this latest proposal passes muster. But I think Go will still be much more like "Go" rather than turning into what you dislike about other languages.

Re:A concise guide to the latest Go generics draft design by throwaway894345 on Thursday June 18, 2020 @10:38PM (#23570454)
I hope you’re right.
Re:A concise guide to the latest Go generics draft design by jasonwatkinspdx on Friday June 19, 2020 @11:31AM (#23575453)
This comes across as very patronizing. I've been using go for a couple years now. I'm very familiar with the detailed history of generics proposals in go. I disagree with your characterization and perspective, and continue to see it as simple FUD.
Re:A concise guide to the latest Go generics draft design by throwaway894345 on Friday June 19, 2020 @01:32PM (#23576823)
If you were very familiar with the history, you would be well aware that virtually no one is expressing a concern about generics turning Go into Boost. That's a straw man of your own creation. You're welcome to see my characterization and perspective however you like.