Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
0-based indexing?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00685916
Message ID:
00685919
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform