Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zubyak
· 8y ago · 0 comments
I wonder why someone decided that accessing "one past the end" should be fine
Comments
[–]
mcguire
8y ago
Short answer: so you can walk a pointer down the elements of an array without having to have weird code to deal with the end.
[–]
jwilk
8y ago
It's explained in the addendum to the article.
[–]
zubyak
OP
8y ago
thanks