Re:Fun with Go Iterators
by foldr on Thursday October 10, 2024 @11:35AM
(#41799963)
It's broadly similar to the reason why Rust won't allow generic methods on traits used to construct trait objects. It seems superficially like a reasonable thing to want, but actually isn't when you consider the details. (The sister comments link to the specific reasons why in the case of Go.)
[ Parent
| on HN ]
There are no comments on this comment yet.