Live data from Hacker News

A Proposal for Adding Generics to Go

blog.golang.org

1–10 of 273 posts

Re: A Proposal for Adding Generics to Go

#6
As much as I've cursed the lack of generics and the limited expressiveness of Go's type system, it's hard for me to reconcile these proposals with what I know of Go. Go was conceived as a small language, a successor to C, and purposely eschewed "new-fangled" features of modern languages. Whether the result is good is a matter of taste, but I feel that retroactively bolting on a modern type system will simultaneously (a) undercut the simplicity of the core language and (b) produce a language that is not as clean as those conceived with generics from the beginning.

Re: A Proposal for Adding Generics to Go

#10
Another comment mentions this is the third (serious) attempt at adding generics to Go.

Is there any concise history of these attempts (including this one)? I'd like to understand the gist of these proposals and what ultimately derailed them.

By themselves these proposals are pretty inscurtable.

Post reply on HN