Re: Methods as Comments (Re: Mixing OO and DB)

From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Tue, 04 Mar 2008 19:09:27 -0400
Message-ID: <47cdd6ac$0$4070$9a566e8b_at_news.aliant.net>


topmind wrote:

> Robert Martin wrote:
> 

>>On 2008-03-03 11:36:55 -0600, topmind <topmind_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.

On the contrary, KISS means keeping your interfaces very simple. One does that with cohesive predicates not by dividing lines of code by number of methods.

[snip] Received on Wed Mar 05 2008 - 00:09:27 CET

Original text of this message