Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Expectations for generics in Go 1.18. Parent comment
I prefer returning errors as a part of the function result myself, as you would in any decent language encouraging functional programming principles.
If anything, it shows that including a feature in a language (exceptions) will not lead to people misusing it if that misuse is not encouraged.
There are no comments on this comment yet.
I prefer returning errors as a part of the function result myself, as you would in any decent language encouraging functional programming principles.
If anything, it shows that including a feature in a language (exceptions) will not lead to people misusing it if that misuse is not encouraged.