Re:Go(lang): Robust generic functions on slices
by omeid2 on Saturday February 24, 2024 @10:56PM
(#39497467)
The nil return assignment is a compile time error, so easy to spot. It is not supposed to be the defence of the API or a silver bullet, just a practical rule that can save you some hustle.
[ Parent
| on HN ]
There are no comments on this comment yet.