15 ms·
I’m pointing out that functional programming goes beyond trivial things like compose3 and list operations (useful though they can be).
by pharmakom 5y ago
I’m pointing out that functional programming goes beyond trivial things like compose3 and list operations (useful though they can be).
- platinumrad 5y agoSure, but e.g. monadic futures aren't going to be very usable in a language without do notation, custom operators, or non-verbose lambdas. Might as well just use channels. As for nullability and error handling, writing "if" over and over again might be bad, but in Go I don't think functional approaches are going to be any better. Maybe liftA2, etc. on pointers would be usable, but not much else.