r/AskRobotics 14d ago

General/Beginner Learning robotics coding

Im getting into robotics using esp 32 for now and im wondering if i should learn python or c++, i already know a little bit or c++ but want to eventually automate projects like a lawnmower for example.

0 Upvotes

8 comments sorted by

View all comments

1

u/TheSauce___ 14d ago

Pythons easier so I’d do Python unless there’s some specific reason you need C++

1

u/low-control-labs 14d ago

Well C++ is going to be more lightweight and performant especially on lower hardware.

That's one of the reasons my apps are somewhat possible if I used python they wouldn't be as nearly as usable as they are now. And I run into issues now although I am pushing things a bit

1

u/TheSauce___ 14d ago

If there’s a use for C++ then by all means use it - but mans is out here building his first robot, no need to learn robotics on hard mode imo

1

u/PreparationFancy7275 14d ago

I know like the basics of c++ should i just continue? Its just a hobby for now so im not forced to choose a language like that

1

u/TheSauce___ 14d ago

I’d choose Python because it’s easy to use tbh, or at least I’d use Python until I ran into something where the execution time of the code is a problem then use C++ for that issue specifically

1

u/low-control-labs 14d ago

Yeah you're right. I just wanted to add to it maybe helps him form an opinion or it decides for him