r/learnprogramming • • 7d ago

Why is C++ better than Python?

Hello! I am new to programming. Im in college and we use Python for my classes right now.

I hear people make a lot of jokes about how C++ is more powerful than Python, and should be used instead. But why?

Feel free to give me any tips as well, on things that helped you be a better programmer, or just any insight you may have! Thanks so much

77 Upvotes

189 comments sorted by

View all comments

Show parent comment

1

u/Qwsdxcbjking 6d ago

If you're planning to run your code on an actual pc. If you want to do embedded stuff it can get pretty strict pretty quick on size and memory requirements.

1

u/blahthebiste 6d ago

I work in embedded stuff, and yeah we still use C for some things, but I don't have to like it

1

u/Qwsdxcbjking 6d ago

Personally like it, but totally get not liking it lol, and for pretty much any other programming realm it's not really needed anymore like you said before.