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



 
GeneralI understand zero is better for computers... Pin
JChrisCompton14-Mar-11 11:35
JChrisCompton14-Mar-11 11:35 
GeneralRe: I understand zero is better for computers... Pin
Klaus-Werner Konrad6-Jun-11 14:02
Klaus-Werner Konrad6-Jun-11 14:02 
GeneralRe: I understand zero is better for computers... Pin
JChrisCompton7-Jun-11 11:54
JChrisCompton7-Jun-11 11:54 
GeneralTrivial Point with Option Base Pin
CaWxMan14-Mar-11 9:50
CaWxMan14-Mar-11 9:50 
GeneralRe: Trivial Point with Option Base Pin
Klaus-Werner Konrad14-Mar-11 10:46
Klaus-Werner Konrad14-Mar-11 10:46 
GeneralRe: Trivial Point with Option Base Pin
Colin Mullikin6-Jun-11 10:56
professionalColin Mullikin6-Jun-11 10:56 
GeneralRe: Trivial Point with Option Base Pin
Klaus-Werner Konrad6-Jun-11 13:52
Klaus-Werner Konrad6-Jun-11 13:52 
GeneralRe: Trivial Point with Option Base Pin
Colin Mullikin7-Jun-11 4:03
professionalColin Mullikin7-Jun-11 4:03 
GeneralRe: Trivial Point with Option Base Pin
yakshasa15-Mar-11 5:19
yakshasa15-Mar-11 5:19 
GeneralWell... Pin
Lutosław12-Mar-11 1:15
Lutosław12-Mar-11 1:15 
JokeIt should start from sqrt(-1) in a high-level programming language. PinPopular
S. Fischer11-Mar-11 2:03
S. Fischer11-Mar-11 2:03 
GeneralRe: It should start from sqrt(-1) in a high-level programming language. Pin
Emilio Garavaglia13-Mar-11 21:26
Emilio Garavaglia13-Mar-11 21:26 
GeneralThe real answer is 42 PinPopular
Yusuf10-Mar-11 17:29
Yusuf10-Mar-11 17:29 
GeneralRe: The real answer is 42 Pin
Toniyo Jackson10-Mar-11 23:57
Toniyo Jackson10-Mar-11 23:57 
GeneralRe: The real answer is 42 Pin
Ed Nutting11-Mar-11 8:31
Ed Nutting11-Mar-11 8:31 
GeneralRe: The real answer is 42 Pin
567890123411-Mar-11 2:48
567890123411-Mar-11 2:48 
GeneralNot just in computing PinPopular
Kamran Behzad10-Mar-11 17:01
Kamran Behzad10-Mar-11 17:01 
GeneralRe: Not just in computing Pin
xawari11-Mar-11 9:57
xawari11-Mar-11 9:57 
GeneralRe: Not just in computing Pin
Emilio Garavaglia13-Mar-11 21:23
Emilio Garavaglia13-Mar-11 21:23 
AnswerRe: Not just in computing Pin
JChrisCompton14-Mar-11 11:50
JChrisCompton14-Mar-11 11:50 
<small>Kamran Behzad wrote:
In Australia the first level of the building is the "Ground Floor". Next level up is the First floor.</small>

In the US, generally the floor you walk in on is 1, the one above you is 2, etc.

There seems to be a growing trend to have a star beside the elevator button that most people will think is the "main" floor (generally a lobby).

If there are multiple floors below the main (ground/first) floor, there is generally a prefix (sub/park/etc.) plus a number. The below ground numbers will sometimes be ascending (1 being the lowest available floor) and sometimes descending.

I've heard that older buildings skip the thirteenth floor, but I've only seen that once, so it's either a regional truth or largely a myth - not sure which.

FWIW,
-Chris C.
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 

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.