This is an interesting question, and while I reject the argument that FP is "better" than OOP I think it's worth discussing complex forces at play here. First of all, what do we mean by OOP and FP? They're not clear-cut definitions, especially when you talk about ecosystems!https://twitter.com/ashprakasan/status/1296351013222326273 …
-
Show this thread
-
Most people these days talk about a specific branch of FP: immutable, inferred static types. But this is a latecomer in FP! It stems from ML in 1976, which started off as a proof-assistant language. Arguably the first popularizer was Miranda in 1985. Before that, FP = Lisp & APL.
3 replies 0 retweets 25 likesShow this thread -
OOP comes from SIMULA-67, almost decade before ML, and was immediately popular from the start. While CLU (1975) and Smalltalk-80 had a major influence on OOP, they were influencing a mostly-coherent paradigm, meaning OOP had a head start on modern FP.
3 replies 0 retweets 6 likesShow this thread -
So OOP comes out earlier than ML, in the time when FP still meant LISP and APL. But OOP wasn't actually competing with them. They were all competing with COBOL.pic.twitter.com/MogdpXBT0x
2 replies 2 retweets 15 likesShow this thread -
It's hard to understand now just how big a deal COBOL was. For a long time, it was the dominant language in the world. The only thing that toppled it was C, and only because of the Unix era. APL, Lisp, OOP languages were all in competition with COBOL (and FORTRAN, and algols)
4 replies 4 retweets 21 likesShow this thread -
Here's some unfounded theory on my part: while OOP was a totally new conceptual model, it was a conceptual model that was much closer to the COBOL model than LISP and APL were. So it was easy for entrenched companies to switch to OOP languages from their legacies.
3 replies 0 retweets 11 likesShow this thread -
In support of this, I offer that C++ is the only OOP language that survived the Javapocalypse. I propose it survived because 1) it was a lot faster, and 2) it was closer to C, so was easier for people to migrate C -> C++ versus C -> Java.
6 replies 3 retweets 14 likesShow this thread
Will Crichton Retweeted Will Crichton
Stroustrup argued that the decline of Dennard scaling in mid-2000s revitalized C++, plus its widespread adoption in gaming/finance/science/etc.https://twitter.com/wcrichton/status/1272595086480510976 …
Will Crichton added,
-
-
Replying to @wcrichton @hillelogram
that + the rise of devices with significant power draw considerations
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD