Re:Maybe adding generics to Go is about syntax after all
by laumars on Tuesday September 04, 2018 @03:29PM
(#17912058)
It's not always that simple. Sometimes you cannot avoid using interface{}. There is a reason why some SQL libraries use interface{}, why (un)marshallers use interface{}, and why I use it heavily in my scripting interpreter which is written in Go.
[ Parent
| on HN ]
There are no comments on this comment yet.