4 ms·
C/C++ is not a thing: they are separate and very different languages. Especially if you're interested in embedded applications (and probably otherwise as well)
by nemetroid 6y ago
C/C++ is not a thing: they are separate and very different languages.
Especially if you're interested in embedded applications (and probably otherwise as well), I would suggest learning C to start with. Whether to go for Rust or C++ after that is up to you.
- ncmncm 6y agoLearning C is an extremely poor way to start learning C++ or Rust. It creates bad habits that take many people years, some a lifetime, to unlearn.
- nemetroid 6y ago> Learning C is an extremely poor way to start learning C++ or Rust. I agree with this, but the poster didn't explicitly want to learn C++ or Rust, they wanted to get into systems programming (specifically mentioning "embedded"). I've read my fair share of "C in C++", but in my experience these issues come from people who started out programming in C (or Fortran) for a long time before trying other languages. I don't think it's going to be a major issue for someone with a background in Python. EDIT: and to add... I would love to trade all the "Java in C++" I've had to deal with for additional "C in C++".
- ncmncm 6y agoYou have encountered Java Disease. The easiest way to spot Java Disease nowadays is seeing shared_ptr. Good C++ code will have very few uses of shared_ptr, usually none.