> Oh yeah I forgot another short sighted new programmer
> annoyance I hold is:

> Complex code that isn't tabbed or seperated like in case
> of a query with 100 fields running a big comma list versus
> putting a carriage return after each field name follwed by
> a comma.

> Makes debugging a pain since you have to eyeball things
> across and can easily bury a comma or forget one. As it
> relates to the code it makes finding what conditional you
> are in impossible except where you step the program
> manually or insert a CFABORT and keep mocing it down the
> file to see where the issue is.

> -Paris Lundis

I have personal issues with ad-hoc cfqueries in general...
particularly insert statements (it's often horribly difficult for me
to walk the column list once, count the number of elements down to my
insert value and then have to find that in the values list)...
Commenting each line of the values list (if not immediately obvious
what it is) helps, but is duplication of effort and ime almost never
done. I prefer to have tools that handle inserts and updates with
structures -- makes them much easier for me to debug... Not
cfinsert/cfupdate incidentally -- they fall in my list of things that
denote a person as being inexperienced, along with -- up until now --
cfform.

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:11:2563
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/11
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:11
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to