Re:Trying Out Generics in Go
by xxpor on Friday December 17, 2021 @12:58PM
(#29595722)
Ah thanks, that's kind of what I thought. I've read examples of Go but haven't written a line of it myself. the way GP described it made it sound like foo, err = bar() was merely a convention and you could do foo = bar() and drop err. If you have to add ", _" that's fine.
[ Parent
| on HN ]
There are no comments on this comment yet.