Swift 3 Functional Programming by Dr. Fatih Nayebi

Swift 3 Functional Programming by Dr. Fatih Nayebi from  in  category
Privacy Policy
Read using
(price excluding 0% GST)
Category: Engineering & IT
ISBN: 9781785881619
File Size: 3.79 MB
Format: EPUB (e-book)
DRM: Applied (Requires eSentral Reader App)
(price excluding 0% GST)

Synopsis

Key FeaturesWritten for Swift 3 -Developers Preview version, this is a comprehensive guide that introduces iOS and OS X developers to the all-new world of functional programming that has so far been alien to themLearn about first-class functions and how imperative-style patterns can be converted into functional code using some simple techniquesThe book will get you familiar with using functional programming alongside existing OOP techniques so you can get the best of both worlds and develop clean, robust codeBook DescriptionThis book is based on Swift 3 Developer preview version and aims at simplifying the functional programming (FP) paradigms making it easily usable, by showing you how to solve many of your day-to-day development problems.Whether you are new to functional programming and Swift or experienced, this book will strengthen the skills you need to design and develop high-quality, scalable, and efficient applications.The book starts with functional programming concepts, the basics of Swift 3, and essential concepts such as functions, closures, optionals, enumerations, immutability, and generics in detail with coding examples.Furthermore, this book introduces more advanced topics such as function composition, monads, functors, applicative functors, memoization, lenses, algebraic data types, functional data structures, functional reactive programming (FRP), protocol-oriented programming (POP) and mixing object-oriented programming (OOP) with functional programming (FP) paradigms.Finally, this book provides a working code example of a front-end application developed with these techniques and its corresponding back-end application developed with Swift.What you will learnFirst-class, higher-order, and pure functionsClosures and capturing valuesCustom operators, recursion, and memoizationValue and reference types in SwiftEnumerations, algebraic data types, patterns, and pattern matchingGenerics and associated type protocolsHigher-order functions such as map, flatMap filter, and reduceDealing with optionals, fmap, and apply for multiple functional mappingFunctional data structures such as Semigroup, Monoid, Binary Search Tree, Linked List, Stack, and Lazy ListImmutability, copy constructors, and lensesCombining FP paradigms with OOP, FRP, and POP in your day-to-day development activitiesDeveloping a backend application with SwiftDeveloping an iOS application with FP, OOP, FRP, and POP paradigmsAbout the AuthorDr. Fatih Nayebi earned his Ph.D. degree in software engineering from Ecole de technologie superieure, Universite du Quebec by researching on Mobile Human-Computer Interaction, Software Engineering, and Machine Learning. Fatih has 15 years of industry experience in software engineering and architecture in various fields. He has developed various applications with Visual Basic, C++, C#, Java, MATLAB, Python, Objective-C, and Swift. He is also an enthusiastic Node, Scala, and Haskell developer.His specialties include applied predictive and optimization models, human-computer interaction, functional programming, machine learning, and mobile application architecture and development.Fatih currently works as a Director, Consulting at CGI Group Inc, Montreal, and continues to his academic research and publications as a postdoctoral researcher at Ecole de technologie superieure.You can find him talking on Swift and Functional Programming at meetups such as http://www.meetup.com/swift-mtl/, on GitHub at https://github.com/conqueror, and on Twitter as @thefatih.Table of ContentsGetting Started with Functional Programming in SwiftFunctions and ClosuresTypes and Type castingEnumerations and Pattern MatchingGenerics and Associated Type ProtocolsMap, Filter, and ReduceDealing with OptionalsFunctional Data StructuresImportance of ImmutabilityThe Best of Both Worlds – Combining FP Paradigms with OOPCase Study – Developing an iOS Application with the FP and OOP Paradigms

Reviews

Write your review

Recommended