FAQ
When a new type B is defined as:
     type B A
type B doesn't "inherits" the method set of A.

I imagine there is some philosophical reason for this behavior, but haven't
found one.

Does someone know ?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJun 9, '15 at 5:02p
activeJun 10, '15 at 4:39p
posts3
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase