Skip to content
0:00 / 0:00

#swift#polymorphism

TJ Usiyan: Functional Programming and Polymorphism basics in Swift - λC Winter Retreat 2017

LambdaConf

8.8K subscribers • 19 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. Uploaded 9 years ago, in an area where tools change fast.

Beginner. No background in the topic needed.

221 views9 years ago1 recommendation

Programming languagesMobile developmentSwiftFunctional programming

TJ Usiyan introduces fundamental functional programming concepts using Swift and defines guidelines for applying them successfully.

Swift allows us to apply many techniques from functional programming but, at the end of the day, Swift is not meant to be a functional programming language. This point can make it tricky to learn and apply functional programming principles using the language. One approach is to eschew FP concepts altogether when using Swift. It doesn’t take much time to realize that this is not the correct approach. Use of closures as first class types, map and filterare all completely at home in Swift. Clearly, there are some concepts which work well in Swift. In this session, we’ll introduce fundamental functional programming concepts using swift, explain and explore the ways in which Swift is not meant to adhere to these, and try to define some basic guidelines for successfully using FP ideas in Swift. Attendees should have the latest Xcode installed, should understand what variables and types are in a general sense, and should be able to type quickly (more quickly than ‘hunt and peck’).

Why it's here

1 person recommends this

What people say. Recommended as part of a collection of talks from the LambdaConf Winter Retreat 2017.

u/idontgiveafin r/haskell • Recommends

…etreat 2017 Talks * Pawel Szulc: Learning FP concepts for greater good * Gabriel Gonzales: Data science APIs in Haskell * TJ Usiyan: Building a small Parser Combinator library in Swift * Julie Moronuki: Applicative and Monadic Parsing * Gabriel Gonzales: Applied category theory and abstract algebra * John DeGoes: Beyond Free Monads (link to this video * Daniel Spiewak: Fun With Parsing (link to this video * David Greenberg: Distributed functional programming * Chris Allen: A Haskell Guide for Working Stiffs * TJ Usiyan: Functional Programming and Polymorphism basics in Swift * Alejandro Serrano: Category Theory Through Functional Programming (Part 1|Part 2|Part 3) * [Scott Fleischman:…