From: Robert Klemme Date: 2010-07-15T16:31:00+09:00 Subject: Re: what is the advantage is to use class methods over object me 2010/7/15 Xeno Campanoli / Eskimo North and Gmail : > On 10-07-14 11:17 PM, Arun Kumar wrote: > > This is my present, probably naive, belief: > > 1.  All programming should be as much functional programming as is > practical. > 2.  When you have to have side effects, make a class to hold methods around > the data.  That way you keep better track of it and you illustrate a well > understood story of what you are doing, which makes it safer and more > maintainable. > 3.  Then keep refactoring to make as much functional programming as is > practical. Why do you say we should do as much functional programming - especially in a language such as Ruby which is much more OO than functional? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/