3 ms·
> Similar extensions have been explored for collections to further omit the instanceof checks without requiring explicit type parameterization. For example, if
by ngrilly 9y ago
> Similar extensions have been explored for collections to further omit the instanceof checks without requiring explicit type parameterization. For example, if a collection is only written to privately, you can infer casts from what types are inserted in to the collection.
This could be exactly what Go needs. Any link to some reference material on this topic?
- deleted 9y ago[deleted]
- brandonbloom 9y agoI have a whole bunch of references related to dynamic languages and type inference, but can't find the specific one I'm thinking of on my hard drive. Sorry.