Cerebrus
unread,Dec 23, 2008, 1:20:52 AM12/23/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
When I read the OP's message, the same thing occurred to me - What's
the difference between a valid comment and one that needs to be
removed ? But on re-reading his post (and his subsequent response) it
is clear that he wants to get rid of all comments.
While it is true that old commented code does not form part of the
compiled assembly, distraction caused by such comments is quite a
subjective experience. I, for one, cannot stand commented code
intermingled with relevant code. Since most professional organizations
use some sort of SourceSafe system which keeps the versioned history
of each file, it becomes completely unnecessary to keep the old code
in the file itself. I find it to be a big readability hindrance.
To the OP,
I see no problem. You could simply write a macro that removes all
comments in your file. You could make it more dynamic so that it can
remove comments regardless of whether the code is in C# or VB. I think
I have done this sort of thing in VS 2003... but that was a while
back.
> > Orkut :everlovingyouth- Hide quoted text -
>
> - Show quoted text -