YoVDO

Map and FlatMap Magic

Offered By: try! Swift Conference via YouTube

Tags

try! Swift Conference Courses iOS Development Courses Swift Courses Functional Programming Courses Monads Courses Closures Courses Code Efficiency Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the functional power of Swift in this conference talk from try! Swift NYC 2017. Discover how to create elegant code using map and flatMap, transforming Swift optionals with ease. Learn tips and tricks to make your code more Swifty as speaker Neem Serra guides you through the magic of functional programming concepts. Delve into topics such as monads, closures, and optional handling, using creative cupcake analogies to illustrate complex ideas. Gain insights on efficient coding practices, including string interpolation and shortcut initialization, to enhance your Swift development skills.

Syllabus

Intro
Functional Programming
Monads
Cupcakes
Frosting
Old way
New way
Mapping
Cupcake Map
Closures
Map
Dictionary
Optionals
FlatMap
FlatMap first argument
FlatMap second argument
Optional cupcakes
Why dont we like mapping
Cupcake example
Indepth example
Indepth example 2
Indepth example 3
String interpolation
Shortcut initialization
Summary


Taught by

try! Swift Conference

Related Courses

Functional Programming Principles in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX
Introduction to Functional Programming
Delft University of Technology via edX
Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX