From: Xeno Campanoli / Eskimo North and Gmail Date: 2010-07-15T15:29:32+09:00 Subject: Re: what is the advantage is to use class methods over object me 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. > Hi All, > > Could u please tell me what is the advantage is to use class methods > over object method in ruby ? Which one is faster and what make it > faster, how it handles the parse and controls in depth ? > > Thanks in advance > Jak. -- "It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member