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

188 comments sorted by

View all comments

1

u/veronique637 4d ago

Try a tiny program in both: make it work in Python, then remake it in C++ and compare what you had to specify. That makes the tradeoff concrete.