[Wtr-general] Proposal for supporting multiple attributes
Bret Pettichord
bret at pettichord.com
Wed Jun 7 15:12:38 EDT 2006
On 6/7/06, Lillis, Dara <dara.lillis at kiodex.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060607/8c689ef9/attachment.html
More information about the Wtr-general
mailing list