-- irkJ5xz4/OgHr5Srjzu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-07-18 at 16:20 +0900, kevin cline 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. > > With 50+ years of collective experience, it seems clear that zero- > based arrays lead to the simplest code. That's been my personal experience, too -- pretty much the only thing 1-based indices make simpler is getting the last element of an array given its size; everything else seems to get more complex. -mental -- irkJ5xz4/OgHr5Srjzu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGncnOSuZBmZzm14ERAma0AKCOYvSZU7WOSJFLtB3rikbjh/+S9QCfbLxf v13pQSvk1ro4X5AEUqefsPUðÄ9 -----END PGP SIGNATURE----- -- irkJ5xz4/OgHr5Srjzu--