3 ms·
> What I would like to see is a (convincing) list of why use C++ (in new projects) at all. C is my obvious choice, but... When it comes to deciding between C
by iambvk 14y ago
> What I would like to see is a (convincing) list of why use C++ (in new projects) at all.
C is my obvious choice, but...
When it comes to deciding between C and C++, C++ beats C in one aspect: templates. For example, quick sort in C++ performs a lot better than C because templates enable lots of compiler optimizations. (Rest of the C++ features are just garbage for my purposes.)
I just hope next C revision adds some form of template support into the language.