<?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>holyhandgrenade.org &#187; coding</title>
	<atom:link href="http://holyhandgrenade.org/blog/tag/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://holyhandgrenade.org/blog</link>
	<description>Got my two fingers out the roof see me greppin&#039; out</description>
	<lastBuildDate>Fri, 17 Feb 2012 13:00:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Just use someone else&#8217;s coding convention already</title>
		<link>http://holyhandgrenade.org/blog/2010/05/just-use-someone-elses-coding-convention-already/</link>
		<comments>http://holyhandgrenade.org/blog/2010/05/just-use-someone-elses-coding-convention-already/#comments</comments>
		<pubDate>Tue, 25 May 2010 03:30:35 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://holyhandgrenade.org/blog/?p=604</guid>
		<description><![CDATA[<a href="http://holyhandgrenade.org/blog/2010/05/just-use-someone-elses-coding-convention-already/" title="Just use someone else&#039;s coding convention already"></a>If there&#8217;s one thing that&#8217;s bugged me throughout my entire coding career, it&#8217;s the fact that I can&#8217;t seem to stick to a single coding style for a given language. Scope decorators, braces, spacing around parentheses, Hungarian notation, variable and &#8230;<p class="read-more"><a href="http://holyhandgrenade.org/blog/2010/05/just-use-someone-elses-coding-convention-already/">Continue reading &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://holyhandgrenade.org/blog/2010/05/just-use-someone-elses-coding-convention-already/" title="Just use someone else&#039;s coding convention already"></a><p>If there&#8217;s one thing that&#8217;s bugged me throughout my entire coding career, it&#8217;s the fact that I can&#8217;t seem to stick to a single coding style for a given language. Scope decorators, braces, spacing around parentheses, Hungarian notation, variable and method naming conventions &#8212; there&#8217;s so many stupid and trivial things to think about, with so many exceptions and gotchas, that after a while it seems like you end up putting half as much time into figuring out how you&#8217;re going to write your program as you actually do designing and coding it. Months later, I&#8217;ll have an epiphany, and change my coding style, until months after that, I&#8217;ll have another epiphany and change it back. This is an endless cycle.</p>
<p>Some languages are easier than others. Ironically, I have very little issue with Perl, but C++ gives me this headache every time I try to code something. It never resulted in bad code quality &#8212; I don&#8217;t think that any of the conventions, in and of themselves, were bad &#8212; but I occasionally sort of lost sight of what I was actually supposed to be doing.</p>
<p>Recently, I started work on a small C++ hobby project, wasted a ton of time, and got completely sick of this song and dance. I had again spent so long playing with my damn coding conventions that I failed to actually get work done.</p>
<p>I poked around for a little bit, and I ended up just going with <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google&#8217;s C++ style guide</a>. I didn&#8217;t love it; I didn&#8217;t even really like it. There&#8217;s a lot of things I completely hate about it. But Google is telling me to shut the fuck up and write some damn code, and it makes it easier to focus on what actually matters &#8212; writing (and finishing) a program that does what it&#8217;s supposed to.</p>
]]></content:encoded>
			<wfw:commentRss>http://holyhandgrenade.org/blog/2010/05/just-use-someone-elses-coding-convention-already/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

