Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who invented the zero based
Message
 
 
To
24/11/2011 09:04:26
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01529748
Message ID:
01529750
Views:
74
>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

It goes back to C or even before. It has never seemed that weird to me because my first programming language was assembler, in which displacements are everything. You offset from the base register address so many bytes and that's where the action is. Adding 1 to make it more understandable in everyday terms would just add unneeded operations in the CPU.

BTW, my post just now about Wikipedia reminded me that I am currently lapsed in my UT membership. I will rectify that when I pay the bills later this weekend. I have no idea how much income the site brings you but do know you pour your soul into it and have to put up with a lot of aggravation ;-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform