Y
Hacker News
new
|
ask
|
show
|
jobs
by
alecbenzer
3280 days ago
I was so confused with `type DefaultPi float64 = 3.141592`... I thought Go had started supporting defining custom default values for types and then interpreting `type` as its default value when used in expressions....