Re:Ask HN: Should I learn C or C++?
by init-as on Monday January 28, 2019 @09:16AM
(#19017534)
Fair, which one would you recommend picking up first?
[ Parent
| on HN ]
C first. C++ was originally a superset of C, though my understanding is that that is no longer strictly the case.
Still, learning C will make it easier to learn C++, because C is far simpler and in order to understand C++ you’ll have to master C’s concepts anyway.
C++ still the superset of a language that is a dialect of C. In terms of ISO, it's probably still closest to the C90 dialect, with some C99-like features (inline functions, // comments).
Nearly everything you learn with C can be applied to C++ (though some may be frowned upon in modern code bases.) So I recommend learning C...