On Fri, 12 Oct 2001, Elmar Sonnenschein wrote:

> "ts" <decoux / moulon.inra.fr> wrote
> >  This is documented in "Programming Ruby", this is the phrase (p. 337)
> >   "If called with an array argument, writes each element on a new line"
>
> My question still remains - why? Although I agree that this may be
> convenient in some cases it contradicts the "Principle of Least Surprise"
> (at least for me). Or else, why isn't it implemented the same way for hashes
> too?

The POLS applies to Matz. :)



=========================================================
Jim Freeze
jim / freeze.org
---------------------------------------------------------
No comment at this time.
http://www.freeze.org
=========================================================