From: Paul Brannan Date: 2002-09-13T23:26:26+09:00 Subject: Re: not grasping the method overloading/multi-dispatch thing On Fri, Sep 13, 2002 at 01:22:16PM +0900, Patrick May wrote: > # asserts > anArray.assert_includes( anotherArray ) Why should this be in the Array class? What's wrong with: Assert.assert_includes(anArray, anotherArray) (same goes for most of the other examples; they really don't belong in the classes you've placed them). > # formating > aString.to_title_widget Is this widget a Fox widget or a QT widget? What happens if two programmers both write a to_title_widget method, one that creates a QT widget and another that creates a Fox widget? One programmer's code is likely to break. Paul