Re: how deeply nested are your code comments?

2012-02-28 Thread Matt Quackenbush
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

how deeply nested are your code comments?

2012-02-28 Thread Michael Dinowitz
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?

Re: how deeply nested are your code comments?

2012-02-28 Thread Mike Kear
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,

Re: how deeply nested are your code comments?

2012-02-28 Thread James Holmes
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