Re:C99/C11 dynamic array that mimics C++'s std::vector
by slacka on Saturday January 07, 2017 @03:50PM
(#13346544)
> 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.
"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."
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
and again here:
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."