You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Reports/2019/#53-2019.01.21.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
### 🌟 🐕 [Functional networking in Swift](https://www.swiftbysundell.com/posts/functional-networking-in-swift)
16
16
17
17
一篇非常不错的、手把手教学的 Swift 函数式编程教程。通过使用 Swift 的函数式特性以及 Future 和 Promise 的思想,一步步的把一个常见的网络请求模型改造得非常优雅,并且整个改造的过程,一步步的减少类型,一步步的减少副作用,使用无状态的函数组合来实现逻辑。从这篇文章也可以看到,函数式编程最重要的是思想,而不是某个具体的库。当我们学会了思想,即便不依赖任何第三方库,我们也可以快速搭建出很 pure,很优雅的架构。
0 commit comments