How to become a functional programmer for JavaScript developers
![]() |
Lambda |
Motivation
After a tremendous amount of time coding JavaScript, I decided to learn new paradigms and patterns to make my code even more elegant. This time, I learn functional programming (FP).
I've been learning and practicing functional programming for a while. I've already been comfortable with the style and my code has been deployed to production and running in real world app. So, it's a good time to share with all JavaScript developers the learning path that I took to become a functional programmer. I believe all JavaScript developers should learn functional programming even though they are not intended to use or allowed to use it in their day job. It's worth your effort and at some point, you will see a glorious, beautiful hidden world of JavaScript.
Learning Path
Following is the list of materials that I sequentially took to learn functional programming and I recommend you to follow the order of the list when you learn functional programming.
1. Functional Light JS by Kyle Simson
Freely available online here https://github.com/getify/Functional-Light-JS.
This material covers basic functional concepts.
2. Thinking in Ramda by Randy Coulman
Freely available online here http://randycoulman.com/blog/categories/thinking-in-ramda/
This is a library/tool to help you to practice and apply concepts into your real code.
3. Functional programming series by Eric Elliot (Optional)
Freely available online here https://medium.com/javascript-scene/composing-software-the-book-f31c77fc3ddc
This material is an optional. For you to have an overview of the jargons.
4. The Most A by Prof. Frisby (Must read!)
Freely available here https://github.com/MostlyAdequate/mostly-adequate-guide
This book is an in-depth guide to functional programming and you should read, practice and re-read until becoming a master of it.
Comments
Post a Comment