Hello Florian,

Wednesday, October 31, 2001, 5:03:18 PM, you wrote:

FHuc> on the subject of dead-code tracking...

FHuc> it would be nice if one could after finding dead code choose on a
FHuc> method/member basis to delete OR COMMENT OUT. This is an important
FHuc> feature if you are doing team development and do not want to appear to
FHuc> be deleting others work... take for example the case where a developer
FHuc> had to stop working on implementation mid-way. They might leave
FHuc> seemingly dead or not yet live code!

  If you know that someone is working on the code and stopped mid-way,
then why touch this code at all? Surely, commenting it may annoy that
developer a little less, but annoy it will, in any case. :-)

  And if this code is indeed dead (and not just unfinished), then it
should be deleted altogether. Old code should be preserved in
source control systems, and not in comments. After a month, you will
never know why the code was commented and whether it would be safe to
delete it.

-- 
Best regards,
 Dmitry                            mailto:[EMAIL PROTECTED]


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to