3 ms·
C++ OOP was based on Simula, rather that Smalltalk, which was OO back in the 60's, and didn't have blocks/anon functions/lambdas. (It did have coroutines thoug
by sbmassey 14y ago
C++ OOP was based on Simula, rather that Smalltalk, which was OO back in the 60's, and didn't have blocks/anon functions/lambdas. (It did have coroutines though; not sure why that didn't make it to C++).
Unlike Java or (I suppose) C#, C++ has been considered multi-paradigm certainly since 1998 with templates and the STL: this is not related to the recent addition of lambdas to the standard. Very little of the popular Boost library can be considered OO, for example, as it generally discourages inheritance hierarchies, as does most modern idiomatic C++.