News for hackers. Stuff that matters.
Re:[Python-ideas] List Revolution by oxtopus on Saturday September 10, 2011 @10:12AM (#2981602)
Meanwhile, some people do count up from zero. At least in numbering floors in a building. I know in Europe and other parts of the world the ground floor is the zeroth floor, and it goes up from there.
Re:[Python-ideas] List Revolution by LeafStorm on Saturday September 10, 2011 @10:17AM (#2981610)
Yeah, a lot of the buildings at my university are numbered that way. But not even in Europe would one count a stack of paper as "zero, one, two, three..."
Re:[Python-ideas] List Revolution by dkersten on Saturday September 10, 2011 @10:41AM (#2981641)
Numerically, yes, but nobody calls it a "zeroth" floor. Rather, its "ground", "first", "second" (or G, 1, 2, 3...) so while ground is equivalent to zero, nobody actually says (or thinks) zero. At least, nowhere I've been.
Re:[Python-ideas] List Revolution by inportb on Saturday September 10, 2011 @11:02AM (#2981672)
So let's just call it the "ground" index.

  G = ground = 0;
  A[G], A[1], A[2], ...
Re:[Python-ideas] List Revolution by sqrt17 on Saturday September 10, 2011 @04:35PM (#2982407)
Where I work, rooms on the 1st floor have numbers like 1.01, 1.02 etc., on the ground floor it's 0.01, 0.02 etc., and in the basement it's -1.01, -1.02 etc.

This is confusing for some people (unfamiliar with the situation), who need to go to a number in the basement but consistently turn up two floors higher.