Click here to Skip to main content
15,891,184 members

Survey Results

Should array indexing start at 0 or 1?   [Edit]

Survey period: 7 Mar 2011 to 14 Mar 2011

Old school VB devs and old school C devs know the answer. What's your feeling in this modern, enlightened era?

OptionVotes% 
01,11587.93
115312.07



 
GeneralRe: Zero based computing Pin
Ravi Sant9-Mar-11 17:51
Ravi Sant9-Mar-11 17:51 
GeneralI'm fine with both conventions. Pin
CPallini8-Mar-11 22:22
mveCPallini8-Mar-11 22:22 
GeneralRe: I'm fine with both conventions. Pin
peterchen10-Mar-11 4:28
peterchen10-Mar-11 4:28 
GeneralRe: I'm fine with both conventions. Pin
CPallini10-Mar-11 4:33
mveCPallini10-Mar-11 4:33 
GeneralAsking too late? PinPopular
Kamran Behzad8-Mar-11 12:28
Kamran Behzad8-Mar-11 12:28 
GeneralRe: Asking too late? Pin
Shajeel8-Mar-11 23:28
Shajeel8-Mar-11 23:28 
GeneralRe: Asking too late? Pin
jawed.ace9-Mar-11 3:52
jawed.ace9-Mar-11 3:52 
GeneralRe: Asking too late? Pin
Kamran Behzad9-Mar-11 16:03
Kamran Behzad9-Mar-11 16:03 
For some things such as color indexing we need 0s to indicate lack of that color. But if we are referencing days of the week, months of the year? Month[0]? Day[0]?

Someone friends have posted strong arguments for 0 base, which (sadly) seem rational to me. But brothers, who am I, but a brainwashed programmer after decades of accepting computer supremacy over my fellow beings? 99.9% of normal humans will not even understand what these friends are talking about! Yes, 90% of us have forsaken our fellow humans in this survey.

/*

I am with Skynet when it all happens any way. This biological hardware with extreme inflexibility to refactoring, and lack of scalability after maturity, is just not the way ahead for evolution.

We need new hardware - as bodies - for intellectual beings. Bodies that can work in a vacuum, can tolerate wider range of temperature, can easily accept exchange of spare parts in case of failure and last but not least, ability to be erased and reprogrammed as the need arises (if only I could erase some of my habits!).

This is the beginning of the end for carbon based, biological hardware.

*/
GeneralSimple explanation Pin
imagiro8-Mar-11 8:59
imagiro8-Mar-11 8:59 
GeneralRe: Simple explanation Pin
George Tryfonas8-Mar-11 19:40
George Tryfonas8-Mar-11 19:40 
GeneralWhat is array? Pin
56789012348-Mar-11 4:41
56789012348-Mar-11 4:41 
GeneralRe: What is array? PinPopular
Trollslayer8-Mar-11 5:19
mentorTrollslayer8-Mar-11 5:19 
GeneralRe: What is array? Pin
567890123410-Mar-11 0:34
567890123410-Mar-11 0:34 
GeneralRe: What is array? Pin
Kamran Behzad10-Mar-11 12:21
Kamran Behzad10-Mar-11 12:21 
GeneralRe: What is array? Pin
Yusuf10-Mar-11 17:32
Yusuf10-Mar-11 17:32 
GeneralRe: What is array? Pin
Kamran Behzad10-Mar-11 17:35
Kamran Behzad10-Mar-11 17:35 
GeneralRe: What is array? Pin
Yusuf10-Mar-11 17:57
Yusuf10-Mar-11 17:57 
GeneralRe: What is array? Pin
567890123411-Mar-11 2:39
567890123411-Mar-11 2:39 
GeneralRe: What is array? Pin
Mwanzia_M11-Mar-11 1:39
Mwanzia_M11-Mar-11 1:39 
GeneralRe: What is array? Pin
Emilio Garavaglia13-Mar-11 21:52
Emilio Garavaglia13-Mar-11 21:52 
GeneralRe: What is array? Pin
Mwanzia_M17-Aug-13 8:28
Mwanzia_M17-Aug-13 8:28 
GeneralRe: What is array? Pin
Mwanzia_M17-Aug-13 8:33
Mwanzia_M17-Aug-13 8:33 
GeneralRe: What is array? Pin
Kamran Behzad10-Mar-11 12:25
Kamran Behzad10-Mar-11 12:25 
GeneralRe: What is array? Pin
#realJSOP8-Mar-11 10:09
mve#realJSOP8-Mar-11 10:09 
GeneralRe: What is array? PinPopular
567890123410-Mar-11 0:26
567890123410-Mar-11 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.