DEV Community

Discussion on: Functional Programming for the Object-Oriented Developer - Part 0

Collapse
 
shimmer profile image
Brian Berns • Edited

I think it's great that you're learning functional programming and category theory, although that's potentially a lot of advanced stuff to take in at once. (Personally, I'm a big fan of F# if you want to consider yet another language.)

The meme that all patterns are just functions in FP is only kind of true. There are actually lots of interesting patterns in FP. You even mentioned one above: composition. More advanced patterns include functors, applicatives, monoids, monads, etc. The cool thing about FP patterns is that they come from math, so they have a solid foundation that OOP patterns often lack.

Best of luck on your journey!

Collapse
 
patferraggi profile image
Patricio Ferraggi • Edited

Thank you for the kind words, yes indeed there are alot more patterns to follow but also yeah they come from math so you can map what you are doing to some other concept.

F# is also in consideration as I am mainly a C# dev, do you have any material recommendation?.

For now I am just following that course on category theory that uses Haskell and reading the book.

Collapse
 
shimmer profile image
Brian Berns • Edited

Ah, if you're a C# dev, then F# will be perfect for you! A lot of people find F# for fun and profit to be a good way to learn the language. I'm happy to help as well if you decide to jump in and have questions.