From: Robert Klemme Date: 2011-09-12T01:10:57+09:00 Subject: Re: Unexpected behavior of Ruby array On Sun, Sep 11, 2011 at 3:05 AM, Colin Bartlett wrote: > On Fri, Sep 9, 2011 at 1:36 PM, Robert Klemme > wrote: >> On Thu, Sep 8, 2011 at 10:15 PM, Gary Wright wrote: >>> >>> On Sep 8, 2011, at 6:05 AM, Dan Nachbar wrote: >> >>>> The difference in the one-arg/two-arg indexing is ruby's way of dealing with >>>> the classic fence post problem. (i.e. A fence with 3 sections has 4 posts.) >>> >>> I really like this analogy. >> >> Yeah, but what about the grass on the other side?  It's still greener.  Darn. > I like that! > > OffTopic, but vaguely relevant: Have you seen Norman MacLaren's short > film Neighbours? > http://www.nfb.ca/film/neighbours_voisins/ > Fenceposts first appear at just after 3m50s into the 8m5s film. No, I haven't. Apparently there's a technical issue - at least I cannot view the movie. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/