Functional Validation With Bow
Status: submitted
Section: Full talk (35/45 minutes)
Technical level: Intermediate
Votes: +7
Your opinion is important to us! Rate this proposal
Abstract
Functional programming has become increasingly popular in recent times, mainly due to its main properties, such as immutability, type safety, and many others. In this talk I will present a sample application that uses some concepts related to functional programming to solve a simple validation problem of two forms: an email address and a phone number. We will see together the resolution of the problem using 3 different known data types: Option, Either and Validated. To do that, we will see the concepts of Monad and Applicative in functional programming. For the implementation, I'll use Bow, an SDK which adds some functional programming constructs to Swift, similar to what Arrow does with Kotlin. For each data type I will show a sample implementation of it, so that we can better understand how they work, and the application of the concepts to validate the two forms of the sample application. The talk is aimed at anyone interested in the subject and wants to learn more.
Speaker bio
I'm Giovanni Catania, iOS Developer at Yoox Net-A-Porter Group. Fascinated by good programming, I always try to improve myself by studying new strategies for solving problems. In recent months I have been interested in functional programming and its application to the mobile world.