<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Santiance &#187; Vote</title>
	<atom:link href="http://santiance.com/tag/vote/feed/" rel="self" type="application/rss+xml" />
	<link>http://santiance.com</link>
	<description>Kristopher Ives&#039;s Developer Notes</description>
	<lastBuildDate>Tue, 31 Aug 2010 23:00:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Compiz Documentation Tag Style Vote</title>
		<link>http://santiance.com/2009/10/compiz-doc-vote/</link>
		<comments>http://santiance.com/2009/10/compiz-doc-vote/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 12:29:52 +0000</pubDate>
		<dc:creator>Kristopher Ives</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Compiz]]></category>
		<category><![CDATA[Vote]]></category>

		<guid isPermaLink="false">http://santiance.com/?p=523</guid>
		<description><![CDATA[I&#8217;m getting mixed opinions about what kind of doc tags to use in the Compiz project. Overall there are two choices that everyone seems to be okay with. In no particular order the two most popular methods are: /// /// This does that /// Or /**  *  This does that  */ The latter is nice [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting mixed opinions about what kind of doc tags to use in the <em><a title="Compiz" href="http://compiz-fusion.org" target="_blank">Compiz</a></em> project. Overall there are two choices that everyone seems to be okay with. In no particular order the two most popular methods are:</p>
<pre>///
/// This does that
///</pre>
<p>Or</p>
<pre>/**
 *  This does that
 */</pre>
<p>The latter is nice because it matches how <em>javadoc</em> works, which I think has made Java (and it&#8217;s APIs) one of the best documented languages around. The former I found nice because it&#8217;s easy to align in all text editors quickly (always type three forward slashes), but is more verbose. In source the former also seems to make it easier for me to quickly scan for doc tags, since most multi-line comments in C++ are done with <code>/*</code> notation.</p>
<p><a title="Erkin Bahceci's Compiz Blog" href="http://dev.compiz-fusion.org/~cornelius/" target="_blank">Erkin</a> pointed out that we can easily nest <code>///</code> style of comments inside of <code>/*</code> comment blocks, which makes it easier to comment out portions of code that are documented, such as this:</p>
<pre>/*

... code ..

///
/// Method we don't want
///
int foo();

... code ...
*/ </pre>
<p>Feel free to make your arguments known here. If you see me on IRC feel free to bring it up, but please use the poll below or make a comment so we can get a real idea of what to commit to <strong>before</strong> we start merging all the doc&#8217;d code. This is a good way to avoid many <code>git</code> quilting sessions later.</p>
<p>[poll id="2"]</p>
]]></content:encoded>
			<wfw:commentRss>http://santiance.com/2009/10/compiz-doc-vote/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
