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

190 comments sorted by

View all comments

Show parent comment

11

u/theGaido 7d ago

C++ is more like Magic the Gathering. There is a big legacy of content. Official - full rulebook has hundreds of pages, and it can be overwhelming. But in reality, for comforting play, you need just to know basics and current meta. Other things you will learn with time.

5

u/Ambientmultimedia 6d ago

That's actually a perfect analogy.

1

u/Objective_Suit_4471 6d ago

They have a rule book? Can you inform me of it?

5

u/Affiixed 5d ago

The documentation

1

u/CreativeAlbatross319 3d ago

The rule book is to turn on the static analyzers like clang-tidy or cppcheck.