Click here to Skip to main content
15,889,858 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: Both? Pin
#realJSOP8-Mar-11 10:11
mve#realJSOP8-Mar-11 10:11 
GeneralRe: Both? Pin
rittjc8-Mar-11 14:29
rittjc8-Mar-11 14:29 
GeneralMust be 0 in order to be consistent across "all" .NET languages. Pin
The Storm7-Mar-11 6:15
The Storm7-Mar-11 6:15 
GeneralRe: Must be 0 in order to be consistent across "all" .NET languages. Pin
Mike Hankey7-Mar-11 12:08
mveMike Hankey7-Mar-11 12:08 
GeneralRe: Must be 0 in order to be consistent across "all" .NET languages. Pin
rittjc8-Mar-11 14:46
rittjc8-Mar-11 14:46 
GeneralArray/Pointer/Loop/Lifts Pin
Ajay Vijayvargiya7-Mar-11 4:35
Ajay Vijayvargiya7-Mar-11 4:35 
GeneralRe: Array/Pointer/Loop/Lifts Pin
Phil J Pearson7-Mar-11 5:33
Phil J Pearson7-Mar-11 5:33 
GeneralRe: Array/Pointer/Loop/Lifts Pin
Ajay Vijayvargiya7-Mar-11 6:54
Ajay Vijayvargiya7-Mar-11 6:54 
My experience also says something else too. People would ask for the lift to "come-down", or to "go-up". Instead of asking it to take you "where" you want to go.
For example, you are on 4th floor, want to goto ground floor, and lift is on 1st floor - they would press "UP" asking it to come up, take you. Instead of pressing "down", where you want to go!
GeneralRe: Array/Pointer/Loop/Lifts Pin
Fabio Franco8-Mar-11 3:22
professionalFabio Franco8-Mar-11 3:22 
GeneralWhy not start at any positive integer? Pin
BillW337-Mar-11 4:32
professionalBillW337-Mar-11 4:32 
GeneralRe: Why not start at any positive integer? Pin
Chris Maunder7-Mar-11 9:17
cofounderChris Maunder7-Mar-11 9:17 
GeneralRe: Why not start at any positive integer? Pin
#realJSOP8-Mar-11 10:12
mve#realJSOP8-Mar-11 10:12 
QuestionRe: Why not start at any positive integer? Pin
CPallini8-Mar-11 23:55
mveCPallini8-Mar-11 23:55 
GeneralRe: Why not start at any positive integer? Pin
PIEBALDconsult7-Mar-11 16:28
mvePIEBALDconsult7-Mar-11 16:28 
GeneralRe: Why not start at any positive integer? Pin
Chris Steenkamp8-Mar-11 3:50
Chris Steenkamp8-Mar-11 3:50 
GeneralRe: Why not start at any positive integer? Pin
RedSonja7-Mar-11 19:59
RedSonja7-Mar-11 19:59 
GeneralRe: Why not start at any positive integer? Pin
Rob Grainger7-Mar-11 22:36
Rob Grainger7-Mar-11 22:36 
GeneralRe: Why not start at any positive integer? Pin
Dan Neely9-Mar-11 6:08
Dan Neely9-Mar-11 6:08 
GeneralRe: Why not start at any positive integer? Pin
Kamran Behzad10-Mar-11 17:17
Kamran Behzad10-Mar-11 17:17 
GeneralOld school FORTRAN 77 devs know the answer. Pin
Nemanja Trifunovic7-Mar-11 3:39
Nemanja Trifunovic7-Mar-11 3:39 
GeneralRe: Old school FORTRAN 77 devs know the answer. Pin
OriginalGriff7-Mar-11 4:25
mveOriginalGriff7-Mar-11 4:25 
GeneralRe: Old school FORTRAN 77 devs know the answer. Pin
Nemanja Trifunovic7-Mar-11 4:32
Nemanja Trifunovic7-Mar-11 4:32 
GeneralRe: Old school FORTRAN 77 devs know the answer. Pin
Ravi Bhavnani7-Mar-11 9:48
professionalRavi Bhavnani7-Mar-11 9:48 
GeneralRe: Old school FORTRAN 77 devs know the answer. Pin
Nemanja Trifunovic7-Mar-11 10:15
Nemanja Trifunovic7-Mar-11 10:15 
GeneralRe: Old school FORTRAN 77 devs know the answer. Pin
Member 31167107-Mar-11 20:44
Member 31167107-Mar-11 20:44 

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.