|
|
|
|
|
by Retra
3956 days ago
|
|
Specifically, this: >"Indexing between elements, instead of indexing elements, helps avoid a large class of off-by-one errors." It only replaces them with indexing-method errors. Instead of remembering if my ranges are open or closed, I have to remember if they are using between-element indices or on-element indices. It's still going to cause the same kinds of problems. |
|