4 ms·
> One of my largest gripes making the switch, is the OO paradigm. C++ supports object-oriented programming, but OO is not intrinsic to the language. OO is just
by slacka 10y ago
> One of my largest gripes making the switch, is the OO paradigm.
C++ supports object-oriented programming, but OO is not intrinsic to the language. OO is just one of the many tools. You can write good functional and procedural C++. If you try to shoehorn every problem into the OO model, you're probably doing it wrong.
From the Bjarne Stroustrup himself:
http://www.stroustrup.com/oopsla.pdf http://www.stroustrup.com/oopsla.pdf
and again here:
https://isocpp.org/blog/2014/12/myths-1 https://isocpp.org/blog/2014/12/myths-1
"C++ supports OOP and other programming styles, but is deliberately not limited to any narrow view of “Object Oriented.” It supports a synthesis of programming techniques including object-oriented and generic programming."