Y
Hacker News
new
|
ask
|
show
|
jobs
by
zubyak
2912 days ago
I wonder why someone decided that accessing "one past the end" should be fine
2 comments
mcguire
2911 days 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.
link
jwilk
2911 days ago
It's explained in the addendum to the article.
link
zubyak
2911 days ago
thanks
link