Paul Hudson

@twostraws

Natural Swift: write Swift the way it was meant to be written - Part 2

By themselves, value types, functional programming, and protocols are all useful tools in any Swift developers toolbox, but when their powers combine they can help you write smarter, simpler, safer code.

In this talk you'll learn why Swift relies so heavily on value types and why it matters in practice. You'll then move on to functional programming, and how tools like flat map and reduce can help make your code clearer and simpler. Finally, a lightning-fast introduction to protocol-oriented programming, where Paul will demonstrate how it helps you re-architect your code to be flatter and more composable.

Those three are all useful to know by themselves, but the real magic comes when they are used together, so once you understand the basic components you'll learn how to put them together so you can write natural, idiomatic Swift.

Please note: You will need to have Xcode 8.2. prior to attending this workshop.

Natural Swift: write Swift the way it was meant to be written - Part 1

By themselves, value types, functional programming, and protocols are all useful tools in any Swift developers toolbox, but when their powers combine they can help you write smarter, simpler, safer code.

In this talk you'll learn why Swift relies so heavily on value types and why it matters in practice. You'll then move on to functional programming, and how tools like flat map and reduce can help make your code clearer and simpler. Finally, a lightning-fast introduction to protocol-oriented programming, where Paul will demonstrate how it helps you re-architect your code to be flatter and more composable.

Those three are all useful to know by themselves, but the real magic comes when they are used together, so once you understand the basic components you'll learn how to put them together so you can write natural, idiomatic Swift.

Please note: You will need to have Xcode 8.2. prior to attending this workshop.

Paul Hudson

Paul is the author of Hacking with Swift, Pro Swift, Hacking with macOS, Server-Side Swift, Swift Coding Challenges, Practical iOS 10, and Objective-C for Swift Developers. Suffice it to say, he quite likes Swift. And coffee. (But mostly Swift.) (And coffee.)