3 ms·
that makes Scala look easy.
by eweise 2y ago
that makes Scala look easy.
- 0x696C6961 2y agoFor 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 2y agoNo, 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 2y agoWhich part of the signature are you struggling with? Maybe I can help you understand.