[OT] Go officially won't get generics

Bienlein via Digitalmars-d digitalmars-d at puremagic.com
Fri May 9 00:05:58 PDT 2014


> Well, he had previously stated that there would be no breaking 
> changes, and that if there were changes it would have to be 
> called "go version 2 or something". So when generics were 
> brought up he stated that there were no plans for generics and 
> "I said we are going to leave the language, we are done" (with 
> version 1 semantics).
>
> Ola..

Robert Pike says in this thread 
(https://groups.google.com/forum/?hl=de#!topic/golang-nuts/3fOIZ1VLn1o):

"Go has type switches, and therefore no need for the Visitor 
Pattern.". He has exactly the same mindset as Niklaus Wirth and 
Oberon never got templates. Future will tell... Would be a nice 
thing to bet a dime on whether Go will have generics or not. I 
bet not ;-).



More information about the Digitalmars-d mailing list