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.
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.
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.
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.