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
7
u/[deleted] Jul 08 '19
You did the right thing by asking the same in /r/Python. We're all biased, there's nothing wrong with that. It's up to you to make the best judgement from what you gather. Unfortunately, they have this two weeks rule so you're not getting any answers from there anytime soon.
I work mostly in C++ but Python is my "brain bicycle". When I heed to do something quick and dirty just to see how it goes, I always start in Python. But ultimately I'm not paid for quick and dirty, I'm paid for fast and reliable, so it either ends up in C++ or dies early.
Nevertheless, from the economical stand point, I would not advise anyone who's not aiming at the career in software engineering to invest in C++. Most of the time Python will get you close enough to beet the competitors and when you really-really need this last bit of difference, you can hire someone like me to do the last bit of engineering for you. The first bits are much more important anyway.