This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: Re: A modest proposal

No replies
Erik Engbrecht
Joined: 2008-12-19,
User offline. Last seen 3 years 18 weeks ago.
Maybe in some cases, but for the most part I just like writing short methods.  There was a discussion a few days ago about writing a lot of one-line methods and whether it is good or bad.  The consensus seemed to be that it is a good thing.

On Fri, Apr 23, 2010 at 3:06 PM, Doug Tangren <d.tangren@gmail.com> wrote:
There might be an argument there for refactoring that into its own object or class there if you are grouping an area of specialized behavior into a section of a single class.
-Doug Tangren
http://lessis.me


On Fri, Apr 23, 2010 at 3:03 PM, Erik Engbrecht <erik.engbrecht@gmail.com> wrote:
I like to group related things together.  For example, I may have a public method with several protected/private methods that support it.




--
http://erikengbrecht.blogspot.com/

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland