Elevators and Erlang
What is it with zero-based indexes that make people so morbidly fascinated by them. If you are talking *offsets* then I agree that zero-based is fine, it's saying how far away something is from a some point. But here we are talking *indexes*, you know like first, second, third, etc. No indexes start at one! And don' go on about how C does it because C doesn't have arrays and indexes it has pointers and offsets, foo[3] is just syntactic sugar for *foo+3. And don't go on about how much easier it is to count from zero, I don't buy that, we can all add and subtract one without problems. Or at least I hope so.In this vein, I would like to point out that Elevators in America subscribe to this basic philosophy, and are, indeed, 1-based.
This compares extremely favourably to those pesky Europeans that have G-based indexing.
G?
Seriously?
Comments