Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Eerie
· 10y ago · 0 comments
What's the advantage of doing pointer arithmetics as opposed to incrementing index variable, like I did?
Comments
[–]
rzhikharevich
10y ago
The advantage of iterators is the abstraction. Collections like maps and sets don't even have indexes.