Swift Functional Programming Second Edition
暫譯: Swift 函數式程式設計(第二版)
Dr. Fatih Nayebi
- 出版商: Packt Publishing
- 出版日期: 2017-04-27
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 316
- 裝訂: Paperback
- ISBN: 1787284506
- ISBN-13: 9781787284500
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$3,980$3,781 -
$1,890$1,796 -
$948Swift Programming: The Big Nerd Ranch Guide, 2/e (Paperback)
-
$2,040$1,938 -
$1,830$1,739
相關主題
商品描述
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 Framework 的範例後端 API 以及使用函數式編程、協定導向編程、函數反應式編程和物件導向編程技術的 iOS 應用程式進行案例研究
本書適合誰閱讀
本書適合已了解物件導向編程、對 Objective-C/Swift 編程語言有一定經驗並希望進一步提升其函數式編程技能的讀者,特別是使用 Swift 3.x 的讀者。
您將學到什麼
- 了解什麼是函數式編程以及它的重要性
- 理解自定義運算子、函數組合、柯里化、遞迴和記憶化
- 探索代數數據類型、模式匹配、泛型、關聯類型協定和類型擦除
- 通過實際範例熟悉高階類型和高階函數
- 熟悉處理可選值的函數式和非函數式方法
- 利用函數式數據結構,如半群、幺半群、二元搜尋樹、鏈結串列、堆疊和懶惰串列
- 理解不變性、複製構造函數和透鏡的重要性