From: Jim Freeze Date: 2001-10-14T14:31:22+09:00 Subject: [ruby-talk:22507] Re: Instance method overloading - a bug? On Fri, 12 Oct 2001, Elmar Sonnenschein wrote: > "ts" 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 =========================================================