Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mewpmewp2
· 5y ago · 0 comments
Most of the time you don't use them or think or need to think of them as pointers.
Comments
[–]
randomdata
5y ago
No, but pointers are thought of as array indices. If you understand arrays, you understand pointers.
[–]
mewpmewp2
OP
5y ago
What do you mean by understanding? E.g I have been using arrays productively in PHP and JavaScript, does it mean I understand them?
[–]
randomdata
5y ago
If, given a[n], you understand that
n
points to a position in array
a
then you understand pointers.