As a brief note, to help make Scala and functional programming completely free to anyone who wants to learn, I recently created a Kickstarter project for just that: to create free Scala and functional programming training courses. See that Kickstarter page to learn more about this effort.
Scala, Java, Unix, MacOS tutorials (page 1)
The book is written for Java, Kotlin, and object-oriented programming (OOP) developers, and as a bonus, I made it less than half the price of other functional programming (FP) books. I hope this makes it a terrific 2022 holiday/Christmas gift for the Java, Kotlin, and OOP programmer in your life.
As of late-November, 2022, my new book, Learn Functional Programming Without Fear, is currently a best-selling book in Amazon’s Java and functional programming categories. The book is intentionally written for Java, Kotlin, and object-oriented programming (OOP) developers, and I also made the book much less expensive than other FP books. As a result, I hope it makes for a terrific 2022 Christmas/holiday gift for the Java/Kotlin/OOP computer programmer in your life!
How about a simple functional programming book written with this style:
No category theory.
Just some Java & Scala code.
Robert Martin’s tweet about writing a new simple functional programming book (in Clojure) was shared with me here, and I like his initial wording on not worrying about monads, monoids, functors, and category theory.
I say the exact same thing at the beginning of my book, Functional Programming, Simplified, and then in Learn Functional Programming Without Fear I show how to start with Java/OOP code and slowly transition to a functional programming style with Scala/FP examples. Both books focus on pragmatic functional programming source code examples, without getting lost in FP theory.
“The Zen way of calligraphy is to write in the most straightforward, simple way, as if you were a beginner. Not trying to make something skillful or beautiful, but simply writing with full attention, as if you were discovering what you were writing for the first time; then your full nature will be in your writing. This is the way of practice, moment after moment.”
~ from the book, Zen Mind, Beginner’s Mind
Demonstrating Scala collections methods with fruit. :) Kudos to whoever came up with this technique first.
I’m glad to report that my book, Learn Functional Programming Without Fear, is the #1 book in both the Java and Functional Programming categories, according to Amazon.com’s book-rating system. (And that doesn’t include PDF sales, which are on Gumroad.com!) Thank you all, and I hope the book is helpful!
I’m glad to report that my new FP book, Learn Functional Programming Without Fear, is a #1 New Release in the Java Computer Programming category on Amazon.
The book is written for Java, Kotlin, and other object-oriented programming (OOP) developers who want to learn FP quickly, so it’s cool to see it achieve this ranking in Amazon’s Java programming category.
Some of the books on the right side of this image are amazing, and I would never discourage anyone from reading the great ones.
But if you’re an object-oriented programming (OOP) developer who wants to start understanding functional programming (FP) over a weekend or a few nights of reading, that’s the goal of the new little book on the left: Learn Functional Programming Without Fear. It takes you from Java/OOP to functional programming in a simple, step by step learning process.
I taught Java and OOP for many years, and have used other OOP languages like Kotlin, Python, and Flutter/Dart, so I understand both OOP and FP.
(I also wrote the FP book in the middle — Functional Programming, Simplified — and it’s about three times larger than the little book on the left. I based it on most of the FP books on the right, and it goes into many details that the book on the left doesn’t go into. It’s big, but it’s still easier than reading all the books on the right.)
As a quick note, as you can read here on the Scala Contributors website, the
scala-cli command in the process of becoming the
scala command. I mentioned in my two newest books, Learn Scala 3 The Fast Way! (Book 1: The Adventure Begins) and Learn Functional Programming Without Fear that this might happen. IMHO, Scala CLI is a terrific tool that simplifies the Scala development process — and learning process — and I’m beyond glad to see this.
IMHO, the song, Anchorage, by Marian Call, is a great song, probably one of my Top-100 songs of all time, maybe Top-50. Of all time.
If you’ve been waiting for a coupon or discount to learn functional programming, today may be your lucky day. I just created a 50% off discount code for the PDF version of “Functional Programming, Simplified” (a best-selling, highly-rated book about functional programming in Scala). But hurry, because the discount is limited to the first 100 buyers.
As I have written before, you can read all those books on the right, or just read the one book on the left, which is based on the best of those books.
My Scala book, Functional Programming, Simplified — 4.5-star rated on Amazon, their 6th-best selling book on functional programming, and 5-star rated on Gumroad.com — is currently on sale in three formats (prices shown in USD):
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 for object-oriented programming (OOP) developers to learn functional programming (FP) goes like this:
October, 2022: I just released my new book, Learn Functional Programming Without Fear, and my aim is to make it a terrific functional programming (FP) book for all OOP developers, especially Java and Kotlin programmers.
As a personal statement, I have no interest in pushing FP on anyone, but if you’re an OOP developer who’s interested in FP, I hope this book will be helpful. If you have some experience programming in Java, Kotlin, and OOP, I believe you’ll be able to read the whole book over a weekend, or in several nights during a week.
Why Java and Kotlin?
- For both of them, it’s because they’re JVM-based languages (or at least they were initially).
- For Java developers, it’s because Java has incorporated several aspects of Scala over the last 12 years (including features like lambdas and immutable collections classes)
- And for Kotlin developers, it’s because Kotlin and Scala are so similar. I’ve seen people say that if you know Scala, you can learn Kotlin in a week, and vice-versa.
FP for Java, Kotlin, and OOP developers
This post is sponsored by my new book,
Learn Functional Programming Without Fear.
ZIO + Scala CLI: “Hello, world” 101
First, here’s a complete ZIO “Hello, world” example that shows everything you need to get started using ZIO with Scala CLI: