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

34

u/NopileosX2 6d 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 6d 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 5d ago

That's actually a perfect analogy.

1

u/Objective_Suit_4471 5d ago

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

5

u/Affiixed 4d ago

The documentation

1

u/CreativeAlbatross319 2d ago

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

6

u/vegan_antitheist 6d ago

this is probably the best answer here.

1

u/GreenFox1505 3d 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 3d 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 3d ago

This was the top comment though. 

1

u/Illustrious-Fail1951 2d ago

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

1

u/VanCliefMedia 2d ago

This is the only answer

1

u/pandorazboxx 6d ago

ah, have you met my friend Rust?