<?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>Global Nerdy &#187; hypothetical</title>
	<atom:link href="http://www.globalnerdy.com/tag/hypothetical/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.globalnerdy.com</link>
	<description>Tech Evangelist Joey deVilla on Shopify, startups, software development, tech news and other nerdy stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:30:43 +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>&#8220;It Looks Like You&#8217;re Trying to Stank Up Your Code. Would You Like Some Help?&#8221;</title>
		<link>http://www.globalnerdy.com/2008/12/05/it-looks-like-youre-trying-to-stank-up-your-code-would-you-like-some-help/</link>
		<comments>http://www.globalnerdy.com/2008/12/05/it-looks-like-youre-trying-to-stank-up-your-code-would-you-like-some-help/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 21:57:48 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[code smells]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[hypothetical]]></category>
		<category><![CDATA[pragmatic programming]]></category>
		<category><![CDATA[YAGNI]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2008/12/05/it-looks-like-youre-trying-to-stank-up-your-code-would-you-like-some-help/</guid>
		<description><![CDATA[Gojko Adzic points to this photo taken at QCon San Francisco 2008 by John Grae. It’s a slide featuring YAGNI, the Development Assistant, the programmer’s answer to “Clippit”, a.k.a. “Clippy”: Photo by John Grae. Click the photo to see its Flickr page. YAGNI, short for “You Aren’t Gonna Need It” is a development maxim that [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://gojko.net/2008/12/05/photo-of-the-day-it-looks-like-youre-writing-a-framework/">Gojko Adzic points</a> to <a href="http://www.flickr.com/photos/johnrae/3062622888/">this photo</a> taken at <a href="http://qconsf.com/sf2008/conference/">QCon San Francisco 2008</a> by John Grae. It’s a slide featuring <strong><a href="http://bunkandrambling.com/2006/05/24/ide-feature-request-the-yagni-development-assistant/">YAGNI, the Development Assistant</a></strong>, the programmer’s answer to <a href="http://en.wikipedia.org/wiki/Clippy">“Clippit”, a.k.a. “Clippy”</a>:</p>
<p style="text-align: center"><a href="http://www.flickr.com/photos/johnrae/3062622888/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="yagni_development_assistant_qcon_slide" border="0" alt="yagni_development_assistant_qcon_slide" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2008/12/yagni-development-assistant-qcon-slide.jpg" width="600" height="400" /></a>     <br /><span class="caption">Photo by John Grae.      <br />Click the photo to see its Flickr page.</span></p>
<p><a href="http://en.wikipedia.org/wiki/You_Ain't_Gonna_Need_It">YAGNI</a>, short for “You Aren’t Gonna Need It” is a development maxim that suggests to programmers that they shouldn’t add features or functionality to applications that aren’t necessary at the moment, but <em>might be </em>in the future. YAGNI has the <a href="http://en.wikipedia.org/wiki/Don%27t_repeat_yourself">DRY (“Don’t Repeat Yourself”) Principle</a> has a cousin and among its ancestors are <a href="http://en.wikipedia.org/wiki/Occam%27s_razor">Occam’s Razor</a> and the <a href="http://en.wikipedia.org/wiki/KISS_principle">KISS Principle</a> (as in “Keep It Simple, Stupid” and not “I Wanna Rock and Roll All Night (and Party Every Day”).</p>
<p><a href="http://bunkandrambling.com/2006/05/24/ide-feature-request-the-yagni-development-assistant/">YAGNI, the Development Assistant</a> comes from <em><a href="http://bunkandrambling.com/">Bunk and Rambling</a></em>, a blog by Darren Smith, where he put it forth as an IDE feature request back in May 2006, when he wrote:</p>
<blockquote><p>While pair programming helps you to write high quality code in an efficient manner there are times that a pair of programmers will end up going off on a tangent and working on something that ultimately ends up not being necessary. To counter the unbridled enthusiasm that usually causes this to occur I give you Yagni, the Development Assistant.</p>
</blockquote>
<p>YAGNI is meant for developers who believe strongly in test-driven development, so here’s how it would hypothetically pop up if you tried to create a class and started entering non-test methods first:</p>
<p><a href="http://bunkandrambling.com/2006/05/24/ide-feature-request-the-yagni-development-assistant/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="YAGNI, the Development Assistant: &quot;It appears that you are creating a class without a unit test. Would you like to * discard code? * create unit test?&quot;" border="0" alt="YAGNI, the Development Assistant: &quot;It appears that you are creating a class without a unit test. Would you like to * discard code? * create unit test?&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2008/12/yagni-development-assistant-1.gif" width="299" height="319" /></a></p>
<p>I’ll leave it to other people to argue over whether or not you <em>always</em> have to have unit tests.&#160; </p>
<p>Here’s another notice from YAGNI:</p>
<p><a href="http://bunkandrambling.com/2006/05/24/ide-feature-request-the-yagni-development-assistant/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="YAGNI, the Development Assistant: &quot;This development spike appears to be going too long. Would you like to * discard code? * go longer?&quot;" border="0" alt="YAGNI, the Development Assistant: &quot;This development spike appears to be going too long. Would you like to * discard code? * go longer?&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2008/12/yagni-development-assistant-2.gif" width="299" height="323" /></a></p>
<p>And finally, what I feel is YAGNI’s most important message – a warning that you’re in danger of embarking on a long, “let’s reinvent the wheel” project:</p>
<p><a href="http://bunkandrambling.com/2006/05/24/ide-feature-request-the-yagni-development-assistant/"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="YAGNI, the Development Assistant: &quot;It look like you&#39;re trying to write a framework. Would you like to: * discard code? * find an open source framework instead? * find a new job?&quot;" border="0" alt="YAGNI, the Development Assistant: &quot;It look like you&#39;re trying to write a framework. Would you like to: * discard code? * find an open source framework instead? * find a new job?&quot;" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2008/12/yagni-development-assistant-3.gif" width="299" height="353" /></a></p>
<p>Since YAGNI’s not likely to appear in any IDE soon, you, your pair programming partner or whoever does code reviews with you will have to play its role for the foreseeable future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2008/12/05/it-looks-like-youre-trying-to-stank-up-your-code-would-you-like-some-help/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

