Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why Go Can't Try. Parent comment
Or you could return pointers and use `nil` in the error case. Bonus is that it'll then panic if you try to use it without checking the error.
(Yes, I know, it makes everything else a faff and is a silly idea.)
There are no comments on this comment yet.
Or you could return pointers and use `nil` in the error case. Bonus is that it'll then panic if you try to use it without checking the error.
(Yes, I know, it makes everything else a faff and is a silly idea.)