4 ms·
You can write C style code in C++ and still get access to features that are still interesting in the problem domain. constexpr functions, typesafe enums, static
by humanrebar 6y ago
You can write C style code in C++ and still get access to features that are still interesting in the problem domain. constexpr functions, typesafe enums, static assertions, and destructors come to mind. No need to even touch a template or inheritance if you don't want to.
The main benefits of C per se are ABI stability and availability of compilers.
- deleted 6y ago[deleted]