3 ms·
I'm not sure I agree that STL that containers are explicitly not OO. That said, I don't disagree that C++ can support functional programming. I would just argu
by nepstein 10y ago
I'm not sure I agree that STL that containers are explicitly not OO.
That said, I don't disagree that C++ can support functional programming. I would just argue there are languages better suited for this.
(edited for clarity)
- hellofunk 10y agoThe author of the first STL has famously said that, even after all these decades, he has never written any C++ code that uses OO inheritance, because he hasn't found a use for it. The STL is mainly a generic library, not an OO library.
- gpderetta 10y agoYes, Stepanov is not exactly an OO fan. This interview with him, were he declared that "OO is an Hoax", is great: http://www.stlport.org/resources/StepanovUSA.html http://www.stlport.org/resources/StepanovUSA.html