Swift Functional Programming Second Edition
Dr. Fatih Nayebi
- 出版商: Packt Publishing
- 出版日期: 2017-04-27
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 316
- 裝訂: Paperback
- ISBN: 1787284506
- ISBN-13: 9781787284500
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$3,800$3,610 -
$1,860$1,767 -
$948Swift Programming: The Big Nerd Ranch Guide, 2/e (Paperback)
-
$2,130$2,024 -
$1,810$1,720
相關主題
商品描述
Bring the power of functional programming to Swift to develop clean, smart, scalable and reliable applications.
About This Book
- Written for the latest version of Swift, this is a comprehensive guide that introduces iOS, Web and macOS developers to the all-new world of functional programming that has so far been alien to them
- Get familiar with using functional programming alongside existing OOP techniques so you can get the best of both worlds and develop clean, robust, and scalable code
- Develop a case study on example backend API with Swift and Vapor Framework and an iOS application with Functional Programming, Protocol-Oriented Programming, Functional Reactive Programming, and Object-Oriented Programming techniques
Who This Book Is For
Meant for a reader who knows object-oriented programming, has some experience with Objective-C/Swift programming languages and wants to further enhance his skills with functional programming techniques with Swift 3.x.
What You Will Learn
- Understand what functional programming is and why it matters
- Understand custom operators, function composition, currying, recursion, and memoization
- Explore algebraic data types, pattern matching, generics, associated type protocols, and type erasure
- Get acquainted with higher-kinded types and higher-order functions using practical examples
- Get familiar with functional and non-functional ways to deal with optionals
- Make use of functional data structures such as semigroup, monoid, binary search tree, linked list, stack, and lazy list
- Understand the importance of immutability, copy constructors, and lenses
商品描述(中文翻譯)
將函數式編程的力量引入Swift,開發乾淨、智能、可擴展和可靠的應用程序。
關於本書
本書針對最新版本的Swift,為iOS、Web和macOS開發人員介紹了全新的函數式編程世界,這對他們來說一直是陌生的。
熟悉使用函數式編程與現有的面向對象編程技術並存,以便兼顧兩者的優點,開發乾淨、健壯和可擴展的代碼。
使用Swift和Vapor框架開發一個後端API的案例研究,以及使用函數式編程、協議導向編程、函數式反應編程和面向對象編程技術開發iOS應用程序。
本書適合對面向對象編程有所了解,具有一些Objective-C/Swift編程語言經驗並希望進一步提升Swift 3.x函數式編程技巧的讀者。
你將學到什麼
了解什麼是函數式編程以及它的重要性。
了解自定義運算符、函數組合、柯里化、遞歸和記憶化。
探索代數數據類型、模式匹配、泛型、關聯類型協議和類型擦除。
通過實際示例熟悉高階類型和高階函數。
熟悉處理可選值的函數式和非函數式方法。
使用函數式數據結構,如半群、單子、二叉搜索樹、鏈表、堆棧和惰性列表。
了解不可變性、拷貝構造函數和鏡片的重要性。