Re:A rough proposal for sum types in Go (2018)
by baby on Monday November 15, 2021 @06:19PM
(#29234278)
I don't think it's clearer personally, but the problem is really that it's not secure. If you forget to check the `err` (or the `nil`) then you might shoot yourself in the foot. As a pentester, most of the bugs I found in Golang codebases would have been avoided with sum types.
[ Parent
| on HN ]
There are no comments on this comment yet.