On 6/7/06, Lillis, Dara <[EMAIL PROTECTED]> wrote:
Disclaimer: I am not familiar with the background discussions so please let me know if I'm completely missing the point. but...
 
it would make sense to me to aim to have everything default to 0-based indexing. Ruby has 0-based indexing (for arrays at least). I forget enough things already, so I'd prefer to not have to remember when I need to use which indexing.

In hindsight, we wish we had started with 0-based indexing for just this reason. The problem is what do we do about all the existing tests that use 1-based indexing. This suggests that we have to make it a configurable option -- and maybe change the default to 0-based, but make it easy for the 1-based tests to continue to work.

Does this make sense?

Bret

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to