Re:Proposal: Go should have generics
by aninhumer on Saturday April 16, 2016 @10:53PM
(#11513294)
Well I don't think zero values are a very good idea to start with (if you want a default value, make it explicit), but if one insists on having them, they can just use the first case. So for your example it would be int 0.
[ Parent
| on HN ]
There are no comments on this comment yet.