News for hackers. Stuff that matters.
Re:Golang concepts from an OOP point of view by lloeki on Tuesday September 13, 2016 @02:28AM (#12486006)
Indeed I remember someone laying out some Go good practices (Rob Pike? Andrew Gerrand? damn can't recall) and "accept interfaces, return types" was definitely one of them. Again, a rule of thumb that works very well in most (not all) cases, and, conversely, a code smell.

There are no comments on this comment yet.