<?xml version="1.0" encoding="UTF-8"?><item><title>C++ Gotchas</title><description>&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;A href="http://blogs.msdn.com/oldnewthing/"&gt;Raymond Chen&lt;/A&gt; mentioned this book, here's a &lt;A href="http://safari.oreilly.com/JVXSL.asp?x=1&amp;amp;mode=section&amp;amp;sortKey=rank&amp;amp;sortOrder=desc&amp;amp;view=book&amp;amp;xmlid=0-321-12518-5&amp;amp;open=false&amp;amp;g=&amp;amp;srchText=&amp;amp;code=&amp;amp;h=&amp;amp;m=&amp;amp;l=1&amp;amp;catid=&amp;amp;s=1&amp;amp;b=1&amp;amp;f=1&amp;amp;t=1&amp;amp;c=1&amp;amp;u=1&amp;amp;r=&amp;amp;o=1"&gt;Safari&lt;/A&gt; link.&amp;nbsp; I just started reading it but so far it's all good stuff.&amp;nbsp; Here's an example:&lt;/P&gt;&#13;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&#13;
&lt;P class=docText&gt;&lt;EM&gt;A particularly odious practice is that of inserting change logs as comments at the head or tail of source code files:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;EM&gt;&lt;SPAN class=docEmphMark&gt;/* 6/17/02 SCD fixed the gaforniflat bug */&lt;/SPAN&gt;&#13;
&lt;/EM&gt;&lt;/PRE&gt;&#13;
&lt;P class=docText&gt;&lt;EM&gt;Is this useful information, or is the maintainer just bragging? This comment is unlikely to be of any use whatever within a week or two of its insertion, but it will hang on grimly for years, distracting generations of maintainers. A much better alternative is to cede these commenting tasks to your version control software; a C++ source code file is no place to leave a laundry list.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&#13;
&lt;P class=docText dir=ltr&gt;This is from Gotcha #1: Excessive Commenting.&lt;/P&gt;&#13;
&lt;P class=docText dir=ltr&gt;&amp;nbsp;&lt;/P&gt;</description><pubDate>Thu, 01 Sep 2005 19:17:06 GMT</pubDate></item>