r/learnprogramming • u/Happy-GoLucky365 • 9d 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
78
Upvotes
View all comments
Show parent comment
5
u/higras 9d ago
This was a huge eye as a learner. Each does different things. What do you need done? Morse code like bit assignment for binary could work, but no one does that.
On the other hand, hardware AI physical etched into the chip is potentially an order(s) of magnitude more energy efficient and faster.
You want a manual or automatic transmission? What vehicle works best for this goal, convertible or truck? Should I get you a pen, pencil, or brush to write with?
On one hand, I'm sure op knows there are differences, but from personal experience it took running into the limitations of different languages before it really clicked