I'm still not convinced that line count is an indicator of good (or bad) design.


 What would you consider small? 100 lines?  500 lines?
 Have we already defined large as 1000+ lines?
 Would you include "Get / Set" methods in your line count?

Most of the SQL statements I've dealt with rarely go beyond 20 lines. The bulk of the "lines" are usually due to specifying each individual column returned from the query (No wildcards). I'm curious as to what sort of queries you are writing.


At 10:30 AM 7/13/2004, you wrote:
That's why I said it's a "strong indicator".  I also have big CFCs
(usually due to big SQL statements), but in general I'll stick by my
statement.  Huge CFCs very often are CFCs that are doing too much.  Put
another way: it's my opinion that most well-designed CFCs are small.

Regards,

Brian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Tuesday, July 13, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] CFC size

At 09:23 AM 7/13/2004, you wrote:
>Unless there are really specific reasons for needing it (perhaps long
>SQL statements), if you have a CFC with thousands of lines of code in
>it, that's a strong indicator that it should be broken down.  It's
>probably doing too many things.

  I don't know if I agree that "number of lines of code" is an indicator
of
poor logic / component design.  It may be, it may not be; without
knowing
more details we just can't tell.

   Of the two big projects I'm working on, both have components > 1000
lines.  One on I'd say the design is suspect, on another I'd say the
design
was solid.  Of course, I'm not basing either decision on the number of
lines of code in components.



--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
<mailto:[EMAIL PROTECTED]>
--
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
Recording Music: <http://www.fcfstudios.com>
Original Energetic Acoustic Rock: <http://www.farcryfly.com>


---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
<mailto:[EMAIL PROTECTED]>
--
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
Recording Music: <http://www.fcfstudios.com>
Original Energetic Acoustic Rock: <http://www.farcryfly.com>



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to