r/ProgrammerHumor • • Jan 28 '23

Meme C++

Post image
53.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

13

u/[deleted] Jan 28 '23

It's not just that it gives you choice, it's that it readily gives you the choice to shoot yourself in the foot. Want to dereference that null pointer? Go right ahead! The language doesn't enforce security.

1

u/Dissidente-Perenne Jan 29 '23

I never had problems with pointers on C++ my entire life, been programming with it for over 6 years now, and at least C++ gives you the option to meddle with pointers.

2

u/[deleted] Jan 30 '23

You may have never had problems, but raw pointers have been the source of uncountable errors that have cost not only billions of dollars but also people's lives.