Click here to Skip to main content
15,891,704 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



 
GeneralBe practical - do what comes naturally Pin
Kamran Behzad10-Mar-11 12:12
Kamran Behzad10-Mar-11 12:12 
GeneralRe: Be practical - do what comes naturally Pin
Jay Gatsby11-Mar-11 22:56
Jay Gatsby11-Mar-11 22:56 
GeneralRe: Be practical - do what comes naturally Pin
PJ Arends12-Mar-11 6:14
professionalPJ Arends12-Mar-11 6:14 
GeneralRe: Be practical - do what comes naturally Pin
Jay Gatsby14-Mar-11 15:13
Jay Gatsby14-Mar-11 15:13 
GeneralRe: Be practical - do what comes naturally Pin
Mr Nukealizer13-Mar-11 12:54
Mr Nukealizer13-Mar-11 12:54 
GeneralRe: Be practical - do what comes naturally Pin
Jay Gatsby14-Mar-11 15:23
Jay Gatsby14-Mar-11 15:23 
GeneralRe: Be practical - do what comes naturally Pin
JChrisCompton14-Mar-11 12:02
JChrisCompton14-Mar-11 12:02 
GeneralHumans start counting at 1... PinPopular
Jacques Bourgeois9-Mar-11 18:53
Jacques Bourgeois9-Mar-11 18:53 
When you start counting something, do you start at zero?

Sure, zero makes sense at the basic level and made sense in assembler and when you deal with pointers and stacks.

But in these days where programmers deal with objects a lot more than they do with bits; where the representation of data has been transformed into something all humans deal with every day of their life, objects; it makes sense that things such as this are also humanized and we should start to count at 1, just as humans do.

For humans, zero is the absence of something. One means that there is at least one element.
Jacques Bourgeois

AnswerRe: Humans start counting at 1... PinPopular
Hans Dietrich9-Mar-11 19:56
mentorHans Dietrich9-Mar-11 19:56 
GeneralRe: Humans start counting at 1... Pin
Marc Clifton11-Mar-11 1:48
mvaMarc Clifton11-Mar-11 1:48 
GeneralRe: Humans start counting at 1... Pin
Hans Dietrich11-Mar-11 1:59
mentorHans Dietrich11-Mar-11 1:59 
GeneralRe: Humans start counting at 1... Pin
Marc Clifton11-Mar-11 2:27
mvaMarc Clifton11-Mar-11 2:27 
GeneralRe: Humans start counting at 1... Pin
Hans Dietrich11-Mar-11 2:40
mentorHans Dietrich11-Mar-11 2:40 
GeneralRe: Humans start counting at 1... Pin
Brett Caswell18-May-11 10:37
Brett Caswell18-May-11 10:37 
GeneralRe: Humans start counting at 1... Pin
PIEBALDconsult10-Mar-11 1:46
mvePIEBALDconsult10-Mar-11 1:46 
GeneralRe: Humans start counting at 1... Pin
Yusuf10-Mar-11 17:27
Yusuf10-Mar-11 17:27 
GeneralRe: Humans start counting at 1... Pin
Ed Nutting11-Mar-11 8:34
Ed Nutting11-Mar-11 8:34 
GeneralRe: Humans start counting at 1... Pin
mirdones10-Mar-11 2:22
mirdones10-Mar-11 2:22 
GeneralRe: Humans start counting at 1... Pin
Tomz_KV10-Mar-11 5:30
Tomz_KV10-Mar-11 5:30 
AnswerRe: Humans start counting at 1... Pin
cruzbdg10-Mar-11 7:14
cruzbdg10-Mar-11 7:14 
GeneralRe: Humans start counting at 1... Pin
Klaus-Werner Konrad13-Mar-11 1:42
Klaus-Werner Konrad13-Mar-11 1:42 
GeneralRe: Humans start counting at 1... Pin
cruzbdg13-Mar-11 4:23
cruzbdg13-Mar-11 4:23 
GeneralRe: Humans start counting at 1... Pin
Emilio Garavaglia13-Mar-11 21:37
Emilio Garavaglia13-Mar-11 21:37 
GeneralRe: Humans start counting at 1... Pin
Nick Polyak11-Mar-11 6:18
mvaNick Polyak11-Mar-11 6:18 
GeneralRe: Humans start counting at 1... Pin
Kevin McFarlane12-Mar-11 2:27
Kevin McFarlane12-Mar-11 2:27 

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.