3 ms·
It does not predate OO. The first OO language, SIMULA-67 became public knowledge before the start of even the PDP-7 UNIX, which is extremely unlikely to have u
by adrian_b 5y ago
It does not predate OO.
The first OO language, SIMULA-67 became public knowledge before the start of even the PDP-7 UNIX, which is extremely unlikely to have used such a pattern, which probably appeared only when UNIX was rewritten in C, starting in 1973.
Even Smalltalk-72 predated the C-version of UNIX.
However, it is likely that this pattern was chosen in UNIX independently of the previous OO languages.
- pjmlp 5y agoAlso what many usually forget, C++ was also born on the same building as UNIX. Hence why C++ got so fast adopted across UNIXes and C compiler vendors on other platforms.
- ncmncm 5y agoThat was not the reason. But it was the reason that C, as standardized, adopted several C++ innovations first.
- pjmlp 5y agoIt was definitly the reason, by 1992 it was impossible to buy a C compiler that also did not had a C++ one in the box. Also why Apple moved from Object Pascal to C++ on MPW.
- ncmncm 5y agoNone of those C or C++ compilers came from Bell Labs, or were on UNIX tapes from Bell Labs. I used Cfront on Apollo machines in the '80s. Effectively nobody was using Cfront by 1992. Apple, particularly, was not strongly influenced by Bell Labs or UNIX. Apple A/UX–a UNIX for Macintosh, a niche product from that period–shipped without a C++ compiler. MPW in 1992 shipped without a C++ compiler.
- pjmlp 5y agoSo what? Did you missed the part about compiler vendors? Those were the ones that cared about C outside UNIX. Bell Labs also had nothing to say to what happened to their code when they set it free. And Zortech was one of the first vendors to move away from CFront.