Re: Methods as Comments (Re: Mixing OO and DB)
Date: Thu, 6 Mar 2008 08:15:51 -0800 (PST)
On Mar 5, 11:19 pm, Robert Martin <uncle..._at_objectmentor.com> wrote:
> On 2008-03-04 16:56:52 -0600, topmind <topm..._at_technologist.com> said:
> > Robert Martin wrote:
> >> On 2008-03-03 11:36:55 -0600, topmind <topm..._at_technologist.com> said:
> >>> I vehemently disagree. Method/functions used as mere comments is a
> >>> recipe for code cluttered with way too many methods/functions. I don't
> >>> know how your eyes and brain and fingers work, but I do not like that
> >>> code style whatsoever. It would slow me down. It is bureaucratic and
> >>> anti-KISS.
> >> On the contrary, KISS means keep all your methods very simple. That
> >> means having lots of little simple methods, not a few methods who's
> >> left margins look like a crosscut saw with broken teeth.
> > Lots of fairly simple things are not necessarily better than a mix of
> > fewer things of medium-complexity.
> I don't think that's a supportable position. Small steps are always
> preferable to giant steps.
They *are* small steps, they are just not all separated into methods/ functions. You are confusing step and method. Your style is methodhappy. If it works for YOU, that's fine, but don't extrapolate your neurons to all of humanity.
I'm getting tired of this method-size debate. Unless you have something really novel to add, I'm done with it (unless sucked into it further).
> Robert C. Martin (Uncle Bob) | email: uncle..._at_objectmentor.com
> Object Mentor Inc. | blog: www.butunclebob.com
> The Agile Transition Experts | web: www.objectmentor.com
> 800-338-6716 |
-T- Received on Thu Mar 06 2008 - 17:15:51 CET