Based upon what I have seen, I would say that legit comments inside of
commented-out code is extremely common.
On Tue, Feb 28, 2012 at 11:03 AM, Michael Dinowitz
mdino...@houseoffusion.com wrote:
I know that we all remove unused code and don't comment it out. I know
we all use best
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?
If I had to change something temporarily by commenting it out, I'd be
wanting to leave any comments in the code. That way, if i ended up
UNcommenting it again, the restored routine would still have the comments
in it.If that segment of code is permanently disabled, I'd probably
remove it,
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 mdino...@houseoffusion.comwrote:
I know
4 matches
Mail list logo