Veze, linkovi
Kompjuter biblioteka
Korpa
Swift 3 Functional Programming

Apple - MAC OS X Apple - MAC OS X

Swift 3 Functional Programming

Autor: Fatih Nayebi
Broj strana: 304
ISBN broj: 9781785883880
Izdavač: PACKT PUBLISHING PACKT PUBLISHING
Godina izdanja: 2016.

                 
Twitter   Facebook   Linkedin   Pinterest   Email
                 
Predlog za prevod

 

What You Will Learn

  • First-class, higher-order, and pure functions
  • Closures and capturing values
  • Custom operators, recursion, and memoization
  • Value and reference types in Swift
  • Enumerations, algebraic data types, patterns, and pattern matching
  • Generics and associated type protocols
  • Higher-order functions such as map, flatMap filter, and reduce
  • Dealing with optionals, fmap, and apply for multiple functional mapping
  • Functional data structures such as Semigroup, Monoid, Binary Search Tree, Linked List, Stack, and Lazy List
  • Immutability, copy constructors, and lenses
  • Combining FP paradigms with OOP, FRP, and POP in your day-to-day development activities
  • Developing a backend application with Swift
  • Developing an iOS application with FP, OOP, FRP, and POP paradigms

Book Description

Functional programming is getting a lot of attention because it eases many of the difficulties faced in object-oriented programming (OOP) such as testability, maintainability, scalability, and concurrency. Swift has a lot of functional programming features that can be easily used, but most Objective-C and Swift programmers are not familiar with these tools.

This book aims at simplifying the functional programming paradigms and makes it easily usable for Swift programmers, by showing you how to use functional programming paradigms 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, easily maintainable, scalable, extendable, and efficient applications for iOS, Web, macOS, tvOS, and WatchOS.

The book starts with functional programming concepts, the basics of Swift, and essential concepts such as functions, closures, optionals, enumerations, immutability, and generics in detail with coding examples.

Also, this book introduces more advanced topics such as function composition, functional data structures, monads, functors, applicative functors, memoization, lenses, algebraic data types, 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 real-world frontend application developed with these techniques and its corresponding backend application developed with Swift.

Authors

Fatih Nayebi

Fatih Nayebi gained his PhD degree in Software Engineering from École de technologie supérieure, Université du Québec, and holds Project Management Professional (PMP), SEI Certified Personal Software Process Developer (PSP), Certified Secure Software Lifecycle Professional (CSSLP), and ITIL v3 Foundation certificates.

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 enthusiast Scala and Haskell developer.

His specialties are 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 inc Montreal, and continues with his academic research and publications as a Post-Doctoral Researcher at École de technologie supérieure.

Table of Contents

 

Komentari

• James
klldfads

Ostavite komentar Ostavite komentar

 

Preporučujemo

Naučite Swift 3

Naučite Swift 3

Popust cena:
1100.00 rsd

Veze, linkovi
Linkedin Twitter Facebook
 
     
 
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272