News for hackers. Stuff that matters.
Re:Interfaces in Go make it hard to navigate code by nknighthb on Monday May 27, 2013 @07:20AM (#5774225)
Aside from the accurate response that the signature needs to match, you must understand that Go's type system is deliberately a meld of a very strict type system, and tools that allow you to beat it into a form of duck typing.

It's trying to merge the best parts of two very different worlds. A modest loss of safety is therefore tolerated.

Re:Interfaces in Go make it hard to navigate code by NateDad on Monday May 27, 2013 @07:32AM (#5774253)
Honestly, it's only a loss of safety if you randomly throw types you don't understand into functions you don't understand. And actually... most of the time this will do exactly what you want it to do, especially if you're talking about io.Writer and io.Reader.