functional programming

Introductory Matter

This section contains “Introductory chapters” for the book. The chapters in this section are listed below.

(The content management system that powers this website limits the number of chapters that can be in a section in a book. Because this book contains over 100 chapters, I have to break them up with a page like this from time to time. The PDF version of the book doesn’t have artificial section breaks like this.)

Next version of Scala/FP book, coming soon alvin June 20, 2017 - 5:10am

Update 1: The next version of my book on Scala and functional programming will be released later this week.

Update 2: The price of the book will be increased to $25 on July 1, 2017.

The Scala spectrum: OOP to Pure FP alvin June 17, 2017 - 10:35am

Scala is a great language in many ways. One great feature is that you can use it as a “Better Java” (i.e., as an OOP language), and you can also use it as a pure FP language. While some people prefer one extreme or the other (not unlike extremist Republicans and Democrats in the U.S.), I appreciate that this lets you find a “Middle Way” of using the best features of both approaches.

underscore.io books alvin June 11, 2017 - 2:46pm

The people at underscore.io have made their books on Scala and functional programming free (or “donationware,” if you prefer). I’ve found the Advanced Scala with Cats book to be particularly good, and well worth a donation.

(Full disclosure: I didn’t pay for the Advanced Scala book when I first downloaded it, then went back and tried to pay for it, but the Gumroad website wouldn’t let me do that.)

Just trying to be a reporter alvin June 11, 2017 - 1:35pm

After the 0.1.2 release of Learning Functional Programming in Scala, it occurs to me that I need to be more explicit about my goals for the book. Some people seem to think that I’m trying to “sell” functional programming. That’s not the case at all. I’m just trying to be a reporter and explain what I’ve learned about FP after reading dozens (hundreds?!) of articles and many books on FP, learning Haskell, trying to apply these techniques to my own code, etc. I’ll explain this further in the next release of the book.

Learning Functional Programming in Scala (pdf)

Table of Contents1 - What’s new2 - Buying the book3 - One more thing4 - Preview5 - Some time in the future ...

My new book, Learning Functional Programming in Scala, is now available as a PDF you can purchase for just $10 US. Details are listed below.

Back to top

What’s new

If you’ve been following along with me recently, the latest changes are: