Those using comments to plan code probably don't have any tests. Tests are
essential to allow re-factoring with confidence; comments don't provide
that benefit. This is not a religious belief, it's  something that can be
demonstrated the first time you want to maintain a 1500 line file and all
you have are comments.

In TDD, the test is written first. It expresses the design for the code to
follow. When the code is then re-factored, it ensures the code still meets
the original design.

--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/


On 29 February 2012 08:45, Michael Stemle <[email protected]> wrote:

>
> We are in disagreement. Some of us actually use comments as a way of
> planning and maintaining our code.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:350150
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to