News for hackers. Stuff that matters.
Re:G.E.R.T: Golang Embedded Run-Time by jbarciauskas on Tuesday October 31, 2017 @08:53AM (#15592817)
Pattern matching interfaces also makes finding exactly what underlying object is being used in a given context difficult as well. With explicitly declared interfaces, you can easily find all implementations. With pattern matching it's a bit more complicated.
Re:G.E.R.T: Golang Embedded Run-Time by oelmekki on Tuesday October 31, 2017 @09:05AM (#15592897)
Yeah indeed, there's that too, although I'm glad we can't define methods on interfaces (using the interface as method receiver), so it quite reduces the complexity to just having to figure out the actual type, most often found just by inspecting the caller.