From: Hal Fulton Date: 2006-10-13T14:16:26+09:00 Subject: Re: Silent out-of-index problems--how much of a problem are they really? Kenneth McDonald wrote: > > So my question is, _in practice_, how difficult is it to track down > index-out-of-bounds-errors in Ruby? Truthfully, I'm not sure I've ever had one. The only real error I ever get from Ruby is when I attempt to call 'foo' on object nil. ;) It's sort of an "edge case" thing. Like in Java, the "pointerless" language, where the most common runtime error is "null pointer exception." Of course, probably some percentage of those nils were from out-of-bound array accesses. Hal