> Seriously, instead of being offended, try reading more on Agile practices.
> This stuff actually works and produces measurably better results
> and measurably better value for your clients (which is what it's all about).

I think people are offended more from your tone than your advocacy of
TDD. While tests are great - and they are! - they don't fulfill all of
the purposes of comments.

Let me give you an example. Recently, I built a J2EE web app that
interacts with a Google Search Appliance. I used TDD, and that worked
out well. But I still needed to add at least one comment. I was using
a Java API that let my app talk to the GSA, and that API can
automatically make HTTP requests. Or, you can do that part yourself,
using java.net or Apache HTTPClient or whatever. I chose to use Apache
HTTPClient, although it wasn't actually needed by my app, because it
would in the future allow me to do some additional things, like
authentication handling or modifying the request URL. Now, I couldn't
very well build those into my tests, but I thought it was worth
commenting on for the people who'll maintain that code. There were a
couple of other things that I did myself instead of relying on the API
to do these things, for various reasons, and I commented those too.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350166
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to