Jim, A general rule of thumb (for me) is that once an object is longer than about 2 scrollable pages (I use 1280x1024 on my desktop) it is too big to deal with and should be re-factored for readability. I have and will continue to make exceptions to this in certain cases - but there's no way I'd have a 1000 line anything these days. Tools like Eclipse and frameworks like ColdSpring make re-factoring so easy that it really makes sense to do so as frequently as necessary.
Refactoring isn't a bad thing, imho. The latest issue of ACM Communications referenced Plato's ideas of forms with each being "more perfect" than the last - this speaks directly to refactoring IMHO. Cheers Eric On 3/4/07, Jim Cassata <[EMAIL PROTECTED]> wrote:
Is there a point where a single cfc should be split into smaller pieces because of size? I have a cfc with 12 methods in it at 1000 lines and about 20K. Just thought it best to ask, as I haven't found this subject covered in any blogs or books I have. Thanks. Jim You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
