A few of us at work recently got all of the objc.io books. I have always wanted to get these and have really enjoyed Swift Talks over the past 6 months, so was delighted when I received my copy of Functional Swift.
When I started reading though, it became apparent that this was going to be a whole new way of thinking. Currently, my head is somewhere between Swift and Objective-C and I find myself merging them a lot in what feels like a confused mess! However, they both follow a lot of the same paradigms if you code in a similar way for both languages. When you start thinking functionally though, which was barely more than a buzz word to me until this week, things get very interesting…
I literally spent 2 hours looking at the first chapter. I just wasn’t getting it, or seeing the application at first and suddenly I had a thought; I’m probably not the only one. So I sat down and stripped away all of the glossy extras and came up with some concrete examples of what chapter 1 was trying to expose me to (more on that in a future post). I think it’s so important to really go in this direction that I am going to blog my way through this book – I like to explain things in a really simple way as this is the only way I can learn anyway and I think others might benefit from it.
It’s been 5 months since I started working as a full-time iOS developer and I have absolutely, and utterly thrown myself at it. I mean, there hasn’t been a single day I didn’t come home, collapse and know, deep down, that I had given my absolute maximum that day. I’ve learned so much and come so far and am finally starting to feel like I am contributing to the team in a good way. However, this kind of energy expenditure comes at a price. What I mean is, when you focus on one thing for 5 months you make exponential progress. Coding for 8+ hours everyday in iOS and learning inside and outside of work means you get better very, very quickly. However it also means it is hard to switch off! You form patterns, routines, your brain expects to get used to it’s limit and I can’t seem to flip that switch off at weekends like others seem to be able to do.
Even now, it’s Saturday and I feel like I cannot stop working on stuff; I’ve got a github tab open, have watched a few code talks and am still thinking about Functional Swift!
Anyway, this is the prequel to Functional Swift, chapter by chapter, in layman’s terms, with funny (to me) examples. I am almost finished chapter 1 and have learned a serious amount to get me going.