On Fri, Aug 10, 2012 at 5:03 PM, masta Blasta <[email protected]> wrote:
> If you have a class with many methods, how do you try to organize them? First, I try to avoid having classes with many methods. I can't remember having a Ruby class with so many methods that I started to seriously think about the layout of them. > Do you go alphabetical? By related function? Order in which they were > added? I usually try to group them according to related functionality. When I add code later I often only append it at the bottom because that makes comparing easier. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
