On Wed, Dec 23, 2020 at 12:19 AM Space A. <reexist...@gmail.com> wrote:

> > Again, it bears repeating: "The Go designers where against generics" is
> historical fiction. "The Go team is succumbing to public pressure" is
> political fiction. Both are simply false. Anyone saying either of those
> either misunderstood something someone on the Go team said, or is repeating
> from someone else who misunderstood something.
>
> There is another possibility - you misunderstand something or someone and
> keep repeating that.
>

Sure. I might be wrong, I'm very willing to accept that possibility.
But "the Go designers where against generics" is an easily provable
statement - just find a quote saying that.

And just to pre-empt the obvious retort: Yes, I absolutely would prove my
side as well, but it's impossible to prove a negative - I can't prove that
there are no statements of that nature. There is at least some evidence
documenting what the official stance on generics has been, though:

• Ian provided an authoritative statement to that effect in this thread, as
far as he, personally is concerned
• There is this FAQ entry: https://golang.org/doc/faq#generics - it was
added two weeks before the open source release of Go, by Rob Pike, and
documents the stance "generics might be added, if we can make them work"
(which is notably different from "generics should not be in Go")
https://github.com/golang/go/commit/dd64f86e08
• Russ Cox earliest documented stance I have at hand is from a couple of
weeks *after* the open source release and it also is consistent with this
position: https://research.swtch.com/generic

I can probably come up with more sources if I really want to invest the
time. But I do feel confident that it is simply a well-documented fact,
that the statement has always been "Go might get generics, if we can figure
out a way to do it well". I am not aware of a single instance of anyone I
would consider a core Go designer that would contradict it.

How that stance was contorted into "the Go designers don't want generics"
or "Go will never have generics" is beyond me, even tough both of these
have been very persistently repeated throughout the years (the latter has
subsided a bit over the last two or three years, since it became apparent
that there is a seriously hopeful design on the way).

But, again: By all means, I'm more than willing to be proven wrong. I
haven't read everything any of them has ever said and I might very well
have missed something.


> среда, 23 декабря 2020 г. в 01:40:37 UTC+3, axel.wa...@googlemail.com:
>
>> On Tue, Dec 22, 2020 at 11:09 PM Martin Hanson <greenco...@yandex.com>
>> wrote:
>>
>>> If you on the other hand is pro-generics to Go, then of course that is
>>> your right.
>>>
>>
>> Ian is on record, multiple times, as having argued in favor of generics
>> in Go long before its open source release and has since written many
>> proposals to add them - even before the Go community survey was a thing.
>>
>> Again, it bears repeating: "The Go designers where against generics" is
>> historical fiction. "The Go team is succumbing to public pressure" is
>> political fiction. Both are simply false. Anyone saying either of those
>> either misunderstood something someone on the Go team said, or is repeating
>> from someone else who misunderstood something.
>>
>> There are plenty of good reasons to criticize the addition of generics,
>> but neither of these is one.
>>
>> I for one doesn't hope that the future of Go is going to continue down
>>> this road, with new proposals for change popping up on GitHub every
>>> other day and surveys and possible outside pressure determining the
>>> future of Go. I would very much like to know if this is going to be the
>>> way it is.
>>
>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "golang-nuts" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to golang-nuts...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/golang-nuts/6452721608674913%40iva4-57c3b416b70c.qloud-c.yandex.net
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/541a7371-7862-4e61-bfe9-0b7689916cc5n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/541a7371-7862-4e61-bfe9-0b7689916cc5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAEkBMfExjEzBhGszC%3D20rD7OYuXX%3Dw-006vynXT%3DMVPPvff8sA%40mail.gmail.com.

Reply via email to