Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Idiomatic Generics in Go. Parent comment
You don't know everything about the children's types, but you know enough to constrain them into being type safe.
People sometimes do this safely in Go, but all too often they use interface{}.
There are no comments on this comment yet.
You don't know everything about the children's types, but you know enough to constrain them into being type safe.
People sometimes do this safely in Go, but all too often they use interface{}.