Arc Forumnew | comments | leaders | submitlogin
1 point by evanrmurphy 5530 days ago | link | parent

> if indexing wraps around infinitely, you need to check bounds when you don't want to wrap around; if indexing throws errors, you need to mod explicitly when you do want to wrap around.

Good summary. I agree that index-out-of-bound errors are the saner default.