r/cpp • u/mEmaY_Y • Jul 08 '19
C++ vs. Python
Although I have a bit of experience in both, I'm still having a hard time contemplating which of the two I should be aiming for mastery. Python is very beginner friendly, with a lot of resources and libraries. On the other hand, C++ is known for being a powerful language, while being complex and with a not so small learning curve. I wanted to focus more on robotics and you know, the cool stuff. But wait there's more...... Rasberry pi (python) or Arduino (c++). I'm just a naive 17 year old in my freshmen year of college, and am taking Electronics Engineering. Please enlighten me with your opinions. 😅
2
Upvotes
1
u/Reasonable-Chip5344 Nov 07 '24
Yeah it's a funny one. Focus on the application in general i think rather than the language specifcally. I.e. if machine learning is your thing, then work toward mastary of python just be aware of the utility of other lanaguages and approches. I think of them both as different animals, Sure there is overlap but hard to match the speed of well turned C++ code. However, C++ does get complex when your trying to do something complicated I.e wouldn't immediately use C++ for machine learning unless I'm going build the model from scratch. I wrote an article comparing some of the differences I've noticed between the two on my business page https://vsioanalytics.io/c-vs-python-the-enduring-relevance-of-c-in-modern-computing/
Have a read if your interested