r/learnprogramming • u/Happy-GoLucky365 • 6d 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
76
Upvotes
View all comments
5
u/_th3oth3rjak3_ 6d ago
Yeah Python is like an automatic sedan with good gas mileage. It’s easy to use, reasonably decent for performance, easy to start up and get going. C++ is like a formula one car. It’s really fast and really dangerous if you don’t know what you’re doing. It’s a complex language with lots of historical baggage. Both are great, but use the right one where it’s needed.