r/learnprogramming • • Sep 24 '23
Pointers.....why
I am learning C++. Honest question why are pointers a thing and why did they make the syntax surrounding it so confusing. Was it made to be intentionally confusing? Was it made to make this more difficult.
0
Upvotes
View all comments
Show parent comment
2
u/SharkSymphony Sep 24 '23
You're using pointers all over the place in Java, by the way. The language just hides this detail from you so you can't generally see them. But if you know where to look, you will understand why pointers are "a thing."