<?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>Ugly Code! &#187; hardcoding</title>
	<atom:link href="http://uglycode.com/tag/hardcoding/feed/" rel="self" type="application/rss+xml" />
	<link>http://uglycode.com</link>
	<description>c0ding is seriose busines!!!!1</description>
	<lastBuildDate>Thu, 15 Jul 2010 20:03:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hardcoding FTW</title>
		<link>http://uglycode.com/2008/11/hardcoding-ftw/</link>
		<comments>http://uglycode.com/2008/11/hardcoding-ftw/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 18:19:19 +0000</pubDate>
		<dc:creator>analytik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hardcoding]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://uglycode.com/?p=18</guid>
		<description><![CDATA[
function _getCRServices&#40;$data&#41;
  &#123;
    if &#40;is_array&#40;$data&#41;&#41; &#123;
      //this is ehmmmm, d*ment requirement from client
      $not_cr = array&#40;3006, 2416, 1026, 5604, 3501&#41;;
      ...
    &#125;
  &#125;

Makes one wonder if there was a demented requirement, or [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> _getCRServices<span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #666666; font-style: italic;">//this is ehmmmm, d*ment requirement from client</span>
      <span style="color: #000088;">$not_cr</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">3006</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2416</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1026</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5604</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3501</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #339933;">...</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span></pre></div></div>

<p>Makes one wonder if there was a demented requirement, or just a demented programming technique.</p>
]]></content:encoded>
			<wfw:commentRss>http://uglycode.com/2008/11/hardcoding-ftw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
