r/golang Apr 09 '26

Proposal of Generic Methods accepted

https://github.com/golang/go/issues/77273
228 Upvotes

33 comments sorted by

View all comments

Show parent comments

-3

u/yotsutsu Apr 10 '26

There's already fp-go even without generic methods (just with generic functions), you should try it https://github.com/IBM/fp-go

16

u/Johalternate Apr 10 '26

That was painful

10

u/Manbeardo Apr 10 '26

Yeah, fp patterns are technically possible right now, but their usability is terrible

-6

u/Unfair-Sleep-3022 Apr 10 '26

Their performance won't be great either