问题:
I've been mainly exposed to OO programming so far and am looking forward to learning a functional language. 到目前为止,我已经主要接触过OO编程,并期待学习一门函数式语言。 My questions are: 我的问题是:
- When do you choose functional programming over object-oriented? 什么时候选择面向对象的函数式编程?
- What are the typical problem definitions where functional programming is a better choice? 什么是典型的问题定义,其中函数式编程是更好的选择?
解决方案:
参考一: https://stackoom.com/question/8ipu/函数式编程与面向对象编程-关闭参考二: https://oldbug.net/q/8ipu/Functional-programming-vs-Object-Oriented-programming-closed
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4330915