3 ms·
I'm not a functional programmer, but I like reading about it to expand my horizon. Some days I even think "hey functional programming looks fun, I should try i
by magicalhippo 6y ago
I'm not a functional programmer, but I like reading about it to expand my horizon.
Some days I even think "hey functional programming looks fun, I should try it!"
Then I read articles like this and realize that ship has sailed...
I'll be sticking to my procedural code, now with a light sprinkling of functional-ish concepts.
- madushan1000 6y agoHonestly, concepts like functors are not that hard, they're way more intuitive than some of the OOP concepts when you get used to them a little bit.
- magicalhippo 6y agoYeah I guess it's mostly about not knowing Haskell syntax so the code samples don't really do much for me, and not knowing any category theory so that's no use either. I mean the Haskell wiki[1] is no use to a guy like me. Not a complaint, it's a reference after all. Wikipedia[2] isn't much better, which I do find slightly disappointing. At least the Wikipedia article has some links to the concepts involved so should be doable to interpret the terse article after a bit of extra reading. [1]: https://wiki.haskell.org/Functor https://wiki.haskell.org/Functor [2]: https://en.wikipedia.org/wiki/Functor_(functional_programming) https://en.wikipedia.org/wiki/Functor_(functional_programmin...
- dddbbb 6y agoThe problem is also that in order to generically define functors, one needs higher-kinded types. The Haskell/Scala code on the Wikipedia page is not translatable to say, Java.