eweise 2 days ago

that makes Scala look easy.

1
0x696C6961 2 days ago

For context, here's the existing Map signature from the linked library:

    func Map[A, B any](in <-chan Try[A], n int, f func(A) (B, error)) <-chan Try[B]
Are you suggesting that this channel based signature is significantly easier to understand than the one I shared?

eweise 2 days ago

No, it was more of a general comment that once Go added support for generics, doing functional style programming starts to look as complex (or more actually) than languages that built support from the beginning.

0x696C6961 2 days ago

Which part of the signature are you struggling with? Maybe I can help you understand.