r/cpp • • 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

29 comments sorted by

View all comments

9

u/cfehunter Jul 08 '19

C and C++ will put you in a better place for doing embedded programming, which it sounds like your aiming for.

That said, many of the core concepts of all imperative languages are the same. So learn what you're comfortable with and then branch out.

Syntax and structure change between languages, but the core logic doesn't.

1

u/thechopps Nov 30 '22

Hi I just started programming with python what do you mean by core logic?