Re:Learn Go in five minutes
by simias on Tuesday January 05, 2021 @01:46PM
(#25649219)
Go uses compiler magic to have effectively generic collections, why not hardcode a Result type in the same fashion? It's not very elegant, but it's pragmatic and error handling is important enough that it may well warrant it.
[ Parent
| on HN ]