From: Sy Ali Date: 2007-07-19T13:43:36+09:00 Subject: Re: The Pebble in the Ruby Shoe On 7/18/07, Phlip wrote: > Imagine a language that used 1-based indexing. It would make working in > 0-based appallingly hard even for simple situations. So we would prefer this > slippery slope to slide in the correct direction. I'm a very young programmer, and I've known about this 0 vs 1 issue for a while now. Phlip's comment above is very good at explaining the reason behind it, but I've had a hard time truly grasping it. Is anyone willing to show some snippets of Ruby code which could demonstrate the challenge of working with 1-based arrays? There were some snippets in previous messages but they were too partial for me to really understand things..