Re:The Smalltalk Revolution
by horrido on Sunday January 18, 2015 @05:10PM
(#8909139)
BTW, functional programming does not impress me at all...
"Programming with the Object Oriented paradigm is creating a program by identifying and modeling the Problem Domain Entities as objects, and then make them collaborate between themselves to solve each problem instance. Programming with the Functional paradigm is modeling the problem as a mathematical problem, and creating a mathematical function (by composing other functions) that for each problem instance, computes the problem solution."
(From http://goo.gl/K4U0Nh)
It is unnatural for humans to model the world in a functional way. The world consists of objects, not functions. That's why I've never liked FP.
"Programming with the Object Oriented paradigm is creating a program by identifying and modeling the Problem Domain Entities as objects, and then make them collaborate between themselves to solve each problem instance. Programming with the Functional paradigm is modeling the problem as a mathematical problem, and creating a mathematical function (by composing other functions) that for each problem instance, computes the problem solution." (From http://goo.gl/K4U0Nh)
It is unnatural for humans to model the world in a functional way. The world consists of objects, not functions. That's why I've never liked FP.