On Tue, 10 Jun 2025 at 23:00, Alexander Shopov <a...@kambanaria.org> wrote:

> Therefore - why were method sets designed this way? It was totally
> possible to not do the automatic inclusion of methods on non pointer
> types to the method set of pointers to the types.


Somewhat relevant proposal from a while back:
https://github.com/golang/go/issues/18775
This would have mitigated your concerns a bit I think, but was deemed too
incompatible to be acceptable.

  cheers,
    rog.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/CAJhgacgwfimjfD3amhBOgALtCEwD0wxULtABdGkEr%3DxTh8sC4w%40mail.gmail.com.

Reply via email to