Hacker News new | past | comments | ask | show | jobs | submit login

I wonder why someone decided that accessing "one past the end" should be fine



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




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: