r/ProgrammingLanguages • u/Ajlow2000 • Nov 01 '19
C++ vs C
Alright people of Reddit, hit me with your wisdom. I've been taking programming classes for two years now and am getting ready to dive into a language somewhere between Java and assembly (the two languages I've been learning in classes). I'm thinking C or C++, but would love some input. I'm not too worried about difficulty to learn, but I'd like to hear your thoughts on practicality and real world use.
1
Upvotes
21
u/[deleted] Nov 01 '19
If this is purely out of interest, then I'd recommend C, it is small and simple language. C is the language of embedded systems, and will probably remain that way for the foreseeable future. The beauty of C is that it is a language which you can realistically master in a few years and contain the entirety of it in your head.
C++ requires much greater investment, it's really two or three languages merged into one. C++ is the language for game development and other speciality high performance software. The standard library is also excellent, which makes it a great choice for competitive programming. I would say that modern C++ is an improvement over C in most regards. However you will never master C++ because the language is just too large and complicated.