Hi -- On Wed, 30 Apr 2008, Brian Adkins wrote: > "David A. Black" <dblack / rubypal.com> writes: >> On Tue, 29 Apr 2008, Fredrik wrote: >> >>> What I am still thinking about though, is this: >>> Why on earth is Array#first not calling Array#[0] ??? >> >> The real question is: why should it? They're completely separate >> methods. > > I can't think of a good reason to ever have: Array#first != Array#[](0) That's not the question, though; the question is why #first doesn't actually call #[]. David -- Rails training from David A. Black and Ruby Power and Light: INTRO TO RAILS June 9-12 Berlin ADVANCING WITH RAILS June 16-19 Berlin INTRO TO RAILS June 24-27 London (Skills Matter) See http://www.rubypal.com for details and updates!