4 ms·
> I disagree strongly with exception versus error codes. It sounds reasonable until you look at what real programmers (the kind that isn't perfect) will do and
by wting 12y ago
> I disagree strongly with exception versus error codes. It sounds reasonable until you look at what real programmers (the kind that isn't perfect) will do and how it affects production code.
I prefer option types or checked exceptions, but mentioned return codes because Go is making them popular again.
The most recent GnuTLS bug comes from an ignored return code:
http://blog.bro.org/2014/03/dissecting-gnutls-bug.html http://blog.bro.org/2014/03/dissecting-gnutls-bug.html