News for hackers. Stuff that matters.
Re:Go: Support for Generic Methods by foldr on Thursday May 28, 2026 @05:08AM (#48306493)
But they haven’t added generic methods, really. This change just lets you use method syntax in cases where you could have used a function. It’s a pretty conservative change that I think a lot of people here are misunderstanding. Actual generic methods wouldn’t really make sense (for the same reason that you have similar restrictions on dynamic trait implementations in Rust).

There are no comments on this comment yet.