Yes, I've seen code commented out with commented out code in it.

Steps to fix:

1) Commit to Git
2) Delete everything that's been commented out.

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


On 29 February 2012 01:03, Michael Dinowitz <[email protected]>wrote:

>
> I know that we all remove unused code and don't comment it out. I know
> we all use best practices in commenting code.
> Lets assume you were working on someone elses application that did not
> do these things and had comments in their code comments. How deeply
> nested have you seen comments on average?
> Have you seen comments on code which has in turn been commented out
> leaving the comments as the second level nested rather than the first?
> Worse?


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

Reply via email to