News for hackers. Stuff that matters.
Re:Griping about Go by chrsm on Thursday February 07, 2019 @06:40PM (#19109818)
Best practice is to return concrete types for everything, but error is one of those "special" cases that people tend to return an `error` for, IME.

You can always unwrap it via type assertion, however ugly that may be.

There are no comments on this comment yet.