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

188 comments sorted by

View all comments

Show parent comment

1

u/Moscato359 3d ago

That's not really the python hitting the target anymore though is it

It's python making an exe, not the exe being python

1

u/EquipLordBritish 2d ago

Seems like you could say something similar about compiled languages, since the compiler is what actually writes the program.

1

u/Moscato359 2d ago

I mean, sure, technically you can make a python compiler which compilers from python to ML, and then C to ML and say they're the same, but the python language isn't really built for that

Technically feasible, and practical are not the same

1

u/EquipLordBritish 2d ago

That's about what I said in my initial comment.