Functional programming: The fastest way to learn it
Briefly

Alternate titles for my book, Learn Functional Programming Without Fear, are, the fastest way to learn functional programming and learn functional programming the fast way.That's because I found out - almost by accident - that the fastest way to learn FP goes like this:


     Start with an OOP foundation, like using Java, Kotlin, and other OOP languages
     Take a look at how you write methods in OOP languages
     Then look at how to solve problems using pure functions and data types
     Add in immutable (algebraic) variables
     Then add in immutable data structures
     Lastly, add in functional error-handling using Scala's Option, Try, and Either data types


As I show in Learn Functional Programming Without Fear, if you follow this "OOP to FP" journey correctly, you'll now be ready to use Scala/FP libraries like ZIO and Cats Effect.
Read at Alvinalexander
[
add
]
[
|
|
]