From: Michael Ulm Date: 2007-07-16T22:58:05+09:00 Subject: Re: The Pebble in the Ruby Shoe Raphael Gillett wrote: > > > The pebble in the Ruby shoe is the counter-intuitive use of indexing of > elements of arrays, strings, etc., from 0 to n-1 instead of the more > natural 1 to n. Like prisoners who have got used to their chains, the > Ruby community seems to have meekly accepted this impediment to clear > thinking. It is particularly puzzling that Ruby should hobble its > users in this way, because it is manifestly unnecessary (e.g., Fortran > and Pascal don't do it). > I, for one absolutely hate 1 based arrays in programming languages. It creates a thousand little problems that one has to program around. Ruby got it Right (again).