Re:Ask HN: Why Isn't Go Functional?
by a-saleh on Wednesday June 19, 2019 @02:45AM
(#20221308)
I think Rob Pike, one of the inventors doesn't see the value of the functional style, at least that is what I gather from the readme of https://github.com/robpike/filter :P
Personally, I would love if the language design was a step closer to I.e. ocaml, especiall if I see the 'this is a struct, but only one of the fields should be not-null' hack to implement sum-types, or when I see how closely select over a channel resembles pattern-matching.
But the library ecosystem is good and 'just using forloops' is fine.
Personally, I would love if the language design was a step closer to I.e. ocaml, especiall if I see the 'this is a struct, but only one of the fields should be not-null' hack to implement sum-types, or when I see how closely select over a channel resembles pattern-matching.
But the library ecosystem is good and 'just using forloops' is fine.