Remix.run Logo
Zak an hour ago

I don't think C++ succeeded because it was object-oriented. I think C++ was object-oriented because classes were an abstraction that could layer on top of C with fairly low overhead, giving it more expressive power without much mandatory cost to size or speed.

In other words, object-orientation was the means, not the end.

IsTom 44 minutes ago | parent | next [-]

Back then OOP was all the hype and inheritance was cool.

Zak 33 minutes ago | parent [-]

C++ predated the OOP hype cycle and triggered, or at least accelerated it.

mojuba an hour ago | parent | prev [-]

Agreed and that's probably the second major killer feature of C++.