El Martes, 8 de Abril de 2008, Joel VanderWerf escribi=F3:

> > What is the difference between the length and size methods on
> > String, Array, and Hash? There is none. Hashes have update and
> > merge methods. What's the difference? None.
> >
> > These are particularly atrocious synonyms, because the English
> > words they are based on aren't synonymous. What if you have a
> > class representing a geometric object, and you want length and
> > size to return different measurements?
>
> Sure, so on your geometric class you define length and size to be
> different. It happens that they are the same for strings (and why not).
> They don't have to be the same for other things.

Very good example ;)

=2D-=20
I=F1aki Baz Castillo