|
would it be acceptable if we re-wrote the invariants and pre-/post-assertions to be based around 0 indexed lists, instead of simply ignoring the 0th element of the list. there is an extremely annoying amount of work around required in most languages (Perl, and C at least both require it) in order to deal with this. The statements should not suffer any loss of meaning or generality under a simple index shift. jesse. |
It wouldn't be that bad would it? by Matthew Stover, 2001, Oct 15
Stick with 1..N --- it's no trouble at all by Mike O'Donnell, 2001, Oct 15
to: