1. 程式人生 > >How Do I Learn Some Functional Programming?

How Do I Learn Some Functional Programming?

I am sure you have heard about functional programming already. Otherwise, you would never find this article :)

If you are still unsure what is it all about, I’d propose you to stop reading this article and switch to Uncle Bob’s article Functional Programming Basics.

You know what, just go and read it anyway!

The first step is the most controversial. Yet, I personally think it is the most useful one anyway.

Grab Practical Object-Oriented Design in Ruby (POODR) by Sandi Metz and read it.  Yes, you read it correctly: Object-Oriented Design.

“Why?! How… How does it relate to Functional Programming?!” you may wonder.

The thing is — you really need to experience a good, nice OOD to see the immediate value of Functional Programming and make the transition from OOP to FP smooth and easy.

Ah, and do not be afraid of Ruby. The examples are nice and easy, you will understand everything, I promise!