Re: Displaced c++-style comments in net-snmp-5.3.0.1-sourcecode

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 22 Feb 2006 11:15:05 +0000, Dave Shield <[email protected]> said:

>> I noticed some c++-style comments ("// code") in some
>> files in ./agent/mibgroup/disman/event/mte*.

Dave> Yes - those look like temporary removals of code that
Dave> should have worked but had been causing problems.
Dave> I tend to use C++-style comments for those, to distinguish
Dave> them from "real" comments, and remind me that the problem
Dave> still needs to be addressed.

To prevent this we shouldn't ever check in code with // comments in
it.  Period.  If you need a reminder, use an XXX or even better a /**
@todo */ doxygen tag.

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.