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

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.
It's explained in the addendum to the article.
thanks