#4 PracticalCombine | Book Review

Practical CombinePractical Combine by Donny Wals
My rating: 3 of 5 stars

Context & Why I read this book
This is the fourth book I finished in 2021. My motivation was to get my hands dirty with Combine, Apple's new Functional Reactive Programming framework.

What the book is about
The book is about getting to know Combine and is comprised of 13 chapters:
Chapter 1 - Introducing Functional Reactive Programming
Chapter 2 - Exploring publishers and subscribers
Chapter 3 - Transforming publishers
Chapter 4 - Updating the User Interface
Chapter 5 - Using Combine to respond to user input
Chapter 6 - Using Combine for networking
Chapter 7 - Wrapping existing asynchronous processes with Futures in Combine
Chapter 8 - Understanding Combine’s Schedulers
Chapter 9 - Building your own Publishers, Subscribers, and Subscriptions
Chapter 10 - Debugging your Combine code
Chapter 11 - Testing code that uses Combine
Chapter 12 - Driving publishers and flows with subjects
Chapter 13 - Where to go from here

Additionally, some source code and example projects are provided.

One lesson I am taking from it
I especially liked the sections on backpressure management (controlling flow by signaling a subscriber’s readiness to receive elements) which, in my opinion, was explained better than in other resources on the topic I know of. After this book, I am confident that I understood this concept better.

Reading Recommendation / Who should read this?
I recommend this as a cheap, quick & dirty introduction to the subject. It is no theoretical deep dive but supposed to be a hands-on practical book. Still, in my opinion, it did not live up to its name. It was actually more theoretical than I had hoped for.

View all my reviews on Goodreads