Re:Modern C for C++ Peeps
by zozbot234 on Saturday January 07, 2023 @07:17PM
(#34294584)
Yes but back then you could compile C with a C++ compiler and get the same type checking as in actual C++. There were a few pitfalls but a shared "Clean C" coding style was viable and that's what most of the rewriting effort was focused on.
C++ did add stronger modularity with its public and private member specifiers, namespacing etc. but that was mostly useful on larger projects.
C++ did add stronger modularity with its public and private member specifiers, namespacing etc. but that was mostly useful on larger projects.