week starts at Sunday or Monday??

Vadim Vygonets vadik at cs.huji.ac.il
Tue Oct 3 02:28:05 UTC 2000

Quoth Janis.Papanagnou at varetis.de on Mon, Oct 02, 2000:
> One observation to add is about numbering/enumerating/counting in general:
> 1st, 2nd, 3rd, ... well - I've never heard about "the 0-st".
> Enumerating starting with zero seems to have come in vogue with C, due to
> the simpler address calculation (saves some micro seconds?).

In C, array indices (I think that's what you mean) are not
enumeration, but offsets.  foo[bar] is internally translated to
*(foo + bar), therefore:
	arr[i] == *(arr + i) == *(i + arr) == i[arr]


Would like to kill a certain group of users.
		-- UNIX tech support call

More information about the tz mailing list