Hacker News new | ask | show | jobs
by leaveyou 3514 days ago
The convention is that if the err == nil then the value is not nil. The exceptions to this rule are very few and usually specified in the documentation. Normally you only have to check for error.
1 comments

The fact that it's a convention, and not a compiler error is the entire issue at debate here.