Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go After 2 Years in Production. Parent comment
Oddly enough, in Go it can.
type sine_val float64 type log_val float64
(Not that I am advocating this sort of approach, but it is possible to let the typechecker work this stuff out if you are dedicated)
There are no comments on this comment yet.
Oddly enough, in Go it can.
These are now incompatible types, and you couldn't pass a sine_val to a function expecting a log_val, for example.(Not that I am advocating this sort of approach, but it is possible to let the typechecker work this stuff out if you are dedicated)