News for hackers. Stuff that matters.
Re:Where FP meets OO by otas on Monday December 29, 2014 @12:18PM (#8810667)
Alan Kay was inspired by the real world, mostly biology back when psychotropic substances were rather popular. That's were the problems start. The real world systems are: 1) unpredictable - except for those who can forecast the future. 2) Unreliable 3) Slow 4) Uncoordinated - except if you believe someone runs the world. 5) Unmaintainable - just ask someone on human maintenance (drug research etc). 6) Naturally autonomous

Point 6 is very critical, because in von-neumann architectures you will end up having a shared memory and trying to give an autonomous memory to each agent, will end up very suboptimal, and no zipper, COW of any other FP trick can change that.

You just cannot afford to write your software like the real world, and you don't even have intelligent agents of human ability as building blocks...

Re:Where FP meets OO by seanmcdirmid on Monday December 29, 2014 @01:12PM (#8810962)
For point 6, that wasn't Kay but the simula crowd who invented OOP before Kay.

FP is like math: it isn't based on biology or natural human thought, but rather the truth of math. OOP is much more fuzzy, you can say things that you can't nescessarily prove are true via biased naming and relating (just like you could say and think as a person). Math is great and useful, but there is a reason we haven't evolved into straight up Vulcans yet.

Re:Where FP meets OO by otas on Monday December 29, 2014 @02:13PM (#8811258)
Well seems that simula OOP was a bit more like java/c++. It was Kay who had the message passing idea, and the smalltalk people still don't consider java/c++/simula-derivatives as true OOP languages because they miss that.

http://c2.com/cgi/wiki?AlanKaysDefinitionOfObjectOriented http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht81Ht/doc_kay...

Re:Where FP meets OO by seanmcdirmid on Monday December 29, 2014 @06:41PM (#8812485)
I think you have it backwards: OOP in Simula was more bizarre since all objects basically ran as co-routines. It isn't until Smalltalk where we get the non-autonomous objects that we are familiar with today.