3 ms·
My favorite comment on this topic is from Tim Sweeney: http://lambda-the-ultimate.org/node/735#comment-6678 http://lambda-the-ultimate.org/node/735#comment-6678
by sporkland 7y ago
My favorite comment on this topic is from Tim Sweeney:
http://lambda-the-ultimate.org/node/735#comment-6678 http://lambda-the-ultimate.org/node/735#comment-6678
Going after two folks in Java and C# communities (the later being involved in developing the language) for committing the same error.
- tsimionescu 7y agoNote that in the meantime, C# has gotten this pretty right, with IEnumerable (a read-only list) and support for co- and contra-variance at type declaration time. Hopefully, some day, Go will also get this 'obscure' feature, though I'm not holding my breath. I would be extremely surprised if their initial version of generics will support anything like this.