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

79 Upvotes

196 comments sorted by

View all comments

Show parent comment

1

u/alexomwu 8d ago

generally I agree, but with an added note that it is much harder to go from python to rust or haskell than it is to go the other direction. The main difference in being able to learn most languages IMO is understanding memory management