Advocating small files is one thing, but saying " the issue of an IDE
having a problem with a file over 500 lines imo should be a moot issue,
since you should never run into that problem anyway." is ridiculous.  

Why do we have any error catching tools?  If we all wrote perfect code
we wouldn't need them, but at least cf is flexible enough to provide
them.  Sure we should keep our code small, but the ide should be able to
handle it regardless.  Just because you shouldn't run into a problem
doesn't mean you avoid it.

I agree that large files are a pain to work with, but they will never be
totally avoided and IDE's should be flexible enough to handle them.

Kevin
-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 16, 2005 3:35 PM
To: CF-Talk
Subject: Re: CFEclipse 1.2

> ok.  so that makes a lot of sense. sure.
> conform your development to the editor...
> SURE!

> homesite has no problems.

> sounds like the editor.

> tw

Well no... that's not why I advocate not making files larger than 500
lines... I advocate not making these hideously large files because
they cause all sorts of other problems, and so... given that being the
case, the issue of an IDE having a problem with a file over 500 lines
imo should be a moot issue, since you should never run into that
problem anyway.

To put it another way... I don't complain about the fact that I may
run into problems sending 10MB+ files via my email client because imo,
I shouldn't be trying to use my email client to do that. So by that
same token, why would I complain that an IDE has a problem keeping up
with a lousy, monolithic, likely improbable to maintain file that I
shouldn't be creating in the first place?

Admittedly, I also write a lot of templates < 10 lines... although
these have never caused me any problems.

I probably do have one or two files that break that rule -- I know I
have a few CFC's in the framework that are larger (I don't recall off
the top of my head if any are over 500 lines), but by no means are
they ever mulitple thousdands of lines. CFC's are a bit of a minor
exception in some cases because you can get a lot of reuseable
functionality in a single template but barring that, the larger a
template becomes, the more problematic it is for one reason or
another. If it's not the IDE, then it _will_ be something else. In
most cases I see a lot of copy-paste coding, lack of encapsulation (or
cohesion if you like), and or simple syntactical waste in larger
templates.


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215337
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to