Re:Go generics proposal moves to “likely accept”
by eweise on Wednesday February 03, 2021 @04:42PM
(#26019545)
One example would be to return a single value from a method containing Either the value you want, or the error. That way you could chain a bunch of method calls together and just check for errors at the end instead of checking after each method call.
[ Parent
| on HN ]
There are no comments on this comment yet.