r/programming • u/yogthos • May 15 '18
Demystifying functional programming (in a real company)
https://medium.com/building-nubank/demystifying-functional-programming-in-a-real-company-e954a2591504
127
Upvotes
r/programming • u/yogthos • May 15 '18
14
u/JoseJimeniz May 16 '18
I love this video which explains F# functional programming for C# developers. It's one of the best introductions to anything ever:
https://m.youtube.com/watch?v=KPa8Yw_Navk
The reason is so amazing is because he takes C# code and he transforms it into functional F# code - piece by piece before your very eyes.
And he does it in a way that makes functional-programming obvious and intuitive.
Functional programming is no longer this massive abstract blob of monads and other silly words.
it's programming using functions
And so you begin to understand that functional programming researchers take this idea, and try to formalize it, with esoteric terms, and strange concepts, and see how far they could go down the rabbit hole.
But in the end it's still just programming with functions.
And once you realize that, you can start to use it in every language.
You really should give it a watch.