
62

函数式编程入门实践(一)
source link: https://juejin.im/post/5cb841f7e51d456e5e035f23
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

什么是函数式编程 在文章之前,先和大家讲一下对于函数式编程(Functional Programming, aka. FP)的理解(下文我会用FP指代函数式编程): FP需要保证函数都是纯净的,既不依赖外部的状态变量,也不产生副作用。基于此前提下,那么纯函数
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK