Re:Is Go Duck-Typed?
by throwaway894345 on Thursday March 05, 2020 @11:42AM
(#22495181)
Like I said elsewhere in the thread, you can have the same problem with callbacks:
vs
You're more likely to pass the wrong set of callbacks than to pass the wrong FooIter implementation since the type system doesn't require the callbacks to be related to the same data nor named any certain way.
[ Parent
| on HN ]