函数式编程思想
最近一直在学习函数式编程,函数式编程和面向对象编程都是编程范式的一种。函数式编程解决了一些面向对象解决起来很困难问题,比如并发状态的共享处理,其实函数式不用考虑状态....为了理解什么是函数式编程,我特意买了基本书,也查了一些资料,在这里跟大家分享一下
books
《java8函数式编程》
《函数式编程思想》
《JavaScript函数式编程》
严格的说java不是函数式编程语言,函数式编程也只是在java8之后才加入的,JavaScript确不一样,天生适合函数式编程,同样基于jvm的scale在函数式方面比java要做的好得多
对于理解什么是函数式编程,我自认为理解的不是太深入,网上也有好多大神理解的挺深刻的,所以给出链接,大家可以仔细的体会体会,再编程实战下
参考资料 :
什么是函数式编程思维?
怎样理解 Continuation-passing style?
函数式编程的早期历史
求值策略
我只会面向过程,面向对象能看懂,让我设计我基本蒙圈.
函数式在并发及大数据编程这块儿有他的优势,但架构及设计这块感觉还是面向对象更好理解,更好使用。
Congratulations @hiquanta! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of posts published
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @hiquanta! You have received a personal award!
1 Year on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Home stretch to the finals. Do not miss them!
Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes
Congratulations @hiquanta! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!