How to think in Functional programming paradigm?

I come from OOP background. I would like to how to think and write in FP paradigm?And when you are learning FP how do you set your mind this how we should thinking coding a program in FP and this how things work in FP.

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown 路 Publish articles on custom domain 路 Gain readership on day zero 路 Automatic GitHub backup and more

Anton Rich's photo

Think of it as just building a building out of bricks. Where a brick is just a function and you compose your software out of those smaller functions. It's that simple.

Aldinei Bastos (Pinei)'s photo

I like the "Composing Software" post series by Eric Elliott. It presents some functional programming concepts very well explained through javascript language.

The name "software composition" implies in how to combine parts of testable software to form a reliable whole software.

The series has lead to a book as told in the post below, but the posts are still available for free.

Composing Software Series and Book