Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Compile-time safety for enumerations in Go. Parent comment
In Go, they are not. Aliases establish precise equivalence between types, type redefinitions establish new types altogether.
There are no comments on this comment yet.
In Go, they are not. Aliases establish precise equivalence between types, type redefinitions establish new types altogether.