Functional Kickstart Beta


« Mix

Functional Chapter 2 »

I've been thinking a lot about functional programming these last few years.

I'm definitely not an FP expert, but I've been teaching it and talking to lots of smart people about it for a while and now I've collected my thoughts into a book that I'm releasing in beta: A Functional Programming Kickstart.

It's not a religious book from a functional programming zealot.

Heck, I barely know Haskell.

But I think there are a lot of habits and practices from functional programming that are worth bringing into our every day coding.

In part one of the book I look at things you might want to do to make your code more robust even if you aren't fully on board with FP. You'll see that we handle functions just like we handle any other type. We pass them around, we store them in properties, and we create other functions that take functions as parameters or that return functions.

In the second part we look at higher-order functions that are part of the Swift Standard Library for working with Arrays.

In the third part we dig deeper on some of those functions to see map(), flatMap() and others as design patterns.

I'm releasing chapter one today and hoping to release a chapter a week starting Friday, April 17.

You can get it on Gumroad and I'm trying something new - I'm offering a discount if you need one.

I hope you enjoy the book as much as I'm enjoying writing it.

2020

2019

2018

2017

2016

2015

2013

2012

2011

2010

2009 - 2008