On Thursday, 20 August 2020 20:28:23 UTC-4, Ian Lance Taylor wrote:

> We’re going to settle on square brackets for the generics syntax.


FWIW, the same square-bracket syntax was used by Barbara Liskov's CLU in 
the mid-1970s, and was, as far as I can tell, the first syntax used for 
parametric polymorphism in an ALGOL-like language. The Greek prefix 
notation (e.g. *α *list) used by its contemporary, ML, appears to have 
originated in Christopher Strachey's 1968 lecture notes. C++'s 
angle-bracket templates didn't appear until the 1980s, along with ADAs, 
which used ordinary parens, as in your earlier proposal.





-- 
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/d8091421-4c9e-4f86-b883-1d0744d08480o%40googlegroups.com.

Reply via email to