<?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>Red Yellow &#187; bugs</title>
	<atom:link href="http://redyellow.co.uk/tag/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://redyellow.co.uk</link>
	<description>Sport, Mobiles, Development and did I mention Sport?</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:18:22 +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>When is a bug not a bug?</title>
		<link>http://redyellow.co.uk/when-is-a-bug-not-a-bug/</link>
		<comments>http://redyellow.co.uk/when-is-a-bug-not-a-bug/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 19:59:21 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[undocumented features]]></category>

		<guid isPermaLink="false">http://redyellow.co.uk/?p=603</guid>
		<description><![CDATA[I used to work with someone who said that most bugs in software didn&#8217;t exist. His reckoning was down to the fact that most specifications for functionality aren&#8217;t tight enough. For example, if the spec for an adding function was to add two numbers together, adding 5 and 9 together and returning a value of [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-604 alignleft" title="computer-bug" src="http://redyellow.co.uk/wp-content/uploads/2009/08/computer-bug-150x150.jpg" alt="computer-bug" width="105" height="105" />I used to work with someone who said that most bugs in software didn&#8217;t exist.</p>
<p>His reckoning was down to the fact that most specifications for functionality aren&#8217;t tight enough. For example, if the spec for an adding function was to add two numbers together, adding 5 and 9 together and returning a value of 162 was acceptable. Even returning nothing, or null, or a gazillion was also ok. The specification should have said that the function had to add two numbers and return the correct mathematical result.</p>
<p><span id="more-603"></span>For a developer, this is great news. You don&#8217;t have bugs anymore, you have &#8220;undocumented features&#8221;. Feature specifications get better and it&#8217;s easier to write code that satisfies the requirements.</p>
<h3>It&#8217;s a bug!</h3>
<p>But I personally think blaming bugs, and they are bugs, on the specification writers is lazy. Bug reporters, whether they are developers or not can get quickly hacked off with being told that an error they&#8217;ve found isn&#8217;t actually a bug, but it&#8217;s the fact that it&#8217;s actually been implemented exactly to spec.</p>
<p>A bit of common sense in all of this is definitely required. If you need an adding function, it&#8217;s obvious to anyone that it should return the result. If the spec doesn&#8217;t say so, just do it and move on.</p>
<p>And if you need a function to return the results of whether a visitor is a mobile device or not, it&#8217;s probably wise to actually return the value rather than store it in a cookie. Oops!</p>
<img src="http://redyellow.co.uk/?ak_action=api_record_view&id=603&type=feed" alt="" />

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://redyellow.co.uk/when-is-a-bug-not-a-bug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
	</channel>
</rss>
