From: Colin Bartlett Date: 2011-09-11T10:05:30+09:00 Subject: Re: Unexpected behavior of Ruby array 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. > ;-) > > Cheers > > robert > > > -- > remember.guy do |as, often| as.you_can - without end > http://blog.rubybestpractices.com/ > >