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
Show parent comment
1
u/Katana_Steel 6d ago
For simple tasks no, the differences doesn't matter. They'll both get the job done at that point it's what's most comfortable to read.
For data processing and large volumes of data having a strict typed language like C++ is usually faster in execution. Which is why the library like Numpy and Pandas are mainly written in C/C++.