Um... No.
OO was "discovered" in 1967 by Ole Johann Dahl, and Kristian Nygaard when they extended Algol to help with discrete event simulation. The result was the Simula 67 language which influenced both Bjarne Stroustrup and Alan Kay. In the early 80s Stroustrup, at Bell Labs, went on to create C++ while Kay, at Tektronics, went on to create Smalltalk. The ideas spread and by the mid 80s, influenced by Smalltalk, Objective-C had started to become popular. By 1986 Stroustrup's C++ began to overtake Objective-C and in the early 90s became the standard at Sun. Meanwhile IBM was pushing Smalltalk. Sun won that battle and began to shift C++ to Java. Microsoft, in order to compete for influence over the internet, copied Java and created C#.
The GOF book was adapted from many uears of experience in Smalltalk and C++, and the patterns it describes are still very useful today -- even in functional languages like Scala, F#, and Clojure.
Go is a nice language, but it's inventors were the inventors and maintainers of C and C++, so there was no path to Go without going through those languages first.
And, no Flying cars are not in the offing until someone invents anti-gravity. ;-)
From: (btcinna) at 07/23 11:46
> If you’d take another path, you’d arrive faster and In better shape. OOP wasn’t organic, it was pushed top to bottom by a few architects working for Sun, Borland and Microsoft. Damn Green Team and Gang of Four have corrupted millions of innocent programmers minds, lol. BTW I’m not talking “we could’ve had Functional future”, even now it is out of mental reach for most. But if Go - like language would emerge instead of Java, we might‘ve had flying cars…
CC: #[4]
There is a fascinating mathematical argument that the dual of #algebras (so much loved by #FunctionalProgramming) are coalgebras, and #coalgebras are the structure of #OO-programming.
See https://twitter.com/bblfish/status/1387363685279076356 in particular the articles by Bart Jacobs from the 1990s.

Thread collapsed