Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
0-based indexing?
Message
 
To
03/08/2002 14:52:51
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00685916
Message ID:
00685919
Views:
10
I agree. It is much more intuitive for me to start counting with 1. I remember reading somewhere the rational for using 0, but can't remember it.

>This is one of those long debates. :)
>
>This is the same for javascript as well as a bunch of other environments. I always found it more difficult to handle those ones like that. However, each developer as its own opinion. I believe in VFP, it's more easier to manipulate an array when the first element is indexed at 1. I believe there is also a request to have the 0 based index supported as well. So, it depends on each developer's POV. However, it would be cool if those environments would support such an ability to indicate the 0 based indexing or 1 based indexing.
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform