(I've done software all my life & so am not in this survey) I think index origin 0 is perfect. What we need is a terminology to replace 'first, second, ...etc'. Maybe 0th, 1th, 2th, etc?
Henry Rich R.E. Boss wrote: > The main reason I would prefer an index origin of 1 is because I expect the > first, second, third, ... element to have index 1, 2, 3, ... > Just like the last, second to last, third to last, ... have index _1, _2, > _3, ... > > I am (educated as) a mathematician. > > http://www.xkcd.com/163/ > > > R.E. Boss > > >> -----Oorspronkelijk bericht----- >> Van: [email protected] [mailto:programming- >> [email protected]] Namens Roger Hui >> Verzonden: zaterdag 24 juli 2010 15:17 >> Aan: Programming forum >> Onderwerp: [Jprogramming] index origin 0 >> >> I have been asked by some APL colleagues about >> index origin 0 in J. The question is, does the choice >> of a fixed value of 0 for index origin a hindrance to >> your work? The question is specifically addressed >> to "ordinary domain experts", people with no >> software engineering in their background and are not >> professional mathematicians. >> >> In case you did not know, in APL there is a choice >> known as the index origin, controlled by the variable >> quad-io, of counting from 1 instead of from 0, affecting >> the left argument of { and the result of i. , among other things. >> I will say no more than this to avoid biasing your answers. >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
