News for hackers. Stuff that matters.
Re:A Conversation About OOP vs. FP Turns Constructive by wangchow on Saturday September 10, 2016 @01:18PM (#12470088)
They are all useful. Functional: reducing side-effects improves potential for concurrency; Object-Oriented: create a new type and overload operators to make it feel like the abstract mathematical idea it represents; Procedural: subroutines are pretty much indispensable.
Re:A Conversation About OOP vs. FP Turns Constructive by runT1ME on Saturday September 10, 2016 @02:01PM (#12470251)
Explain why FP doesn't do 'create a new type and overload operators to make it feel like the abstract mathematical idea it represents' better with say, parametric polymorphism?
Re:A Conversation About OOP vs. FP Turns Constructive by ryandvm on Saturday September 10, 2016 @02:18PM (#12470301)
Just my two cents, but regardless of whether it is a more pure representation, I'd say it is empirically more difficult for the average, object-oriented human to wrap their brain around.

At least on that measure, the object oriented paradigm has demonstrated some success.

Re:A Conversation About OOP vs. FP Turns Constructive by runT1ME on Saturday September 10, 2016 @04:48PM (#12470813)
I don't see how. One gives you guarantees, one is a lie. I've done a lot of both, the OO model is strictly inferior in almost every way.