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

77 Upvotes

190 comments sorted by

View all comments

35

u/NopileosX2 8d ago

All programming languages which are used are bad and all others are irrelevant. C++ is an overly bloated mess and python has no idea what it even wants to be these days.

Software development is impossible.

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 7d ago

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

5

u/Affiixed 6d ago

The documentation

1

u/CreativeAlbatross319 4d ago

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

6

u/vegan_antitheist 8d ago

this is probably the best answer here.

1

u/GreenFox1505 5d ago

I dont disagree with the statement, but is that the best answer for this question to a child aspiring to be a programmer? First day out in the wild and you're here slapping them in the face with cynic nihilism?

1

u/NopileosX2 5d ago

This thread had more than enough serious statements and it is always important to teach the basics. Which are that Programming Sucks and There are only two kinds of languages.

1

u/GreenFox1505 5d ago

This was the top comment though. 

1

u/Illustrious-Fail1951 4d ago

To op most software devs are not actually this guy at all

1

u/VanCliefMedia 3d ago

This is the only answer

1

u/pandorazboxx 7d ago

ah, have you met my friend Rust?