From: "Carlo E. Prelz" Date: 2012-12-27T06:25:32+09:00 Subject: Re: When to use Hashed Parameters for method calls. Subject: Re: When to use Hashed Parameters for method calls. Date: Thu 27 Dec 12 06:07:39AM +0900 Quoting Ryan Davis (ryand-ruby@zenspider.com): > Don't question the type of arguments... Question the number of > arguments. 8 just reeks of design smell. Specifically, if you need 8 arguments to specify a situation, it may well be that these things would better be encapsuled in a class. Not only you would be passing only the class instance as a parameter, but it may well be that you could move the subject of the call to a method of the object. Every repartition of meaning/content that helps describe better your problem in terms of object orientation is welcome, in the sense that things eventually work more lightly / more efficiently. Carlo -- * Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)