Re:Generics can make your Go code slower
by monocasa on Wednesday March 30, 2022 @04:36PM
(#30860474)
Only automatically printing something when returning it from main doesn't work with all types with the ? operator. And frankly 'handling errors by auto print and exit' is a bit of a code smell anyway, it's not much better than just .unwrap() on everything in main.
[ Parent
| on HN ]
There are no comments on this comment yet.