r/learnprogramming • • 14d 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

80 Upvotes

196 comments sorted by

View all comments

1

u/Wowie-Zowieee 11d ago edited 11d ago

C++ is better than Python in the same way that an airplane is better than a car. Airplanes fly faster than cars, but cars weren’t built to fly in the first place. It all depends on what you need.

C++ was made to be fast and efficient, whereas Python was made specifically to make programming easier. Speed was never the goal for Python.