Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who invented the zero based
Message
De
24/11/2011 19:41:54
 
 
À
24/11/2011 09:04:26
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01529748
Message ID:
01529771
Vues:
50
>I've been thinking about this this morning. Who invented the zero based approach, which applies to a lot of things in several development environments, including, among others, .NET. This is always a waste of time trying to understand/find which one applies to a specific component. I mean, when I start counting, I start at 1, right? lol

I imagine that it's because in the binary system, 11 only equals decimal 3 because 2^0 + 2^1 = 3. Otherwise, you'd have 2^1 + 2^2 = 6. If the 1st position isn't '0', then how would you represent decimal '1' in the binary system?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform