DEV Community

Cover image for Functional Programming for the Object-Oriented Developer - Part 0

Functional Programming for the Object-Oriented Developer - Part 0

Patricio Ferraggi on January 14, 2020

If you are interested in reading this article in Spanish, check out my blog The Developer's Dungeon If you been following my latest articles you p...
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.

Collapse
 
markoshiva profile image
Marko Shiva

Great post. Good luck with leveling up the functional programming. You interested me to when find free time start also learning functional programming.

Collapse
 
patferraggi profile image
Patricio Ferraggi

That is good news, happy it had that effect on you. It is definitely an interesting subject, I strongly recommend that MIT course that is happening right now, great resource.

Collapse
 
sirgee profile image
Sergey Sachkov

Thanks Patricio for this introduction. Waiting for the next post.

Collapse
 
patferraggi profile image
Patricio Ferraggi

Thanks Sergey, I will try to post two episodes a week if I can. If not I will continue doing 1 a week like I been doing so far with my other blogposts.

Since I am also translating them to Spanish for my personal blog it takes me longer to do one.

Collapse
 
kraken47 profile image
kraken47

Nice post bro

Collapse
 
patferraggi profile image
Patricio Ferraggi

Thank you I am glad you like it.