<?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>Schadenfreude &#187; ternary</title>
	<atom:link href="http://www.ralree.com/tag/ternary/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:49:15 +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>FizzBuzz: The Ultimate Programmer Weed Out</title>
		<link>http://www.ralree.com/2007/02/27/fizzbuzz-the-ultimate-programmer-weed-out/</link>
		<comments>http://www.ralree.com/2007/02/27/fizzbuzz-the-ultimate-programmer-weed-out/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 19:56:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[resume]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ternary]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/fizzbuzz-the-ultimate-programmer-weed-out</guid>
		<description><![CDATA[My solution to this problem: (1..100).each do &#124;i&#124; puts i%3==0 &#38;&#38; i%5==0 ? &#34;FizzBuzz&#34; : i%5==0 ? &#34;Buzz&#34; : i%3==0 ? &#34;Fizz&#34; : i end This should be trivial for just about any programmer. Took me 40 seconds or so.]]></description>
			<content:encoded><![CDATA[<p>My solution to <a href="http://www.codinghorror.com/blog/archives/000781.html">this problem</a>:</p>
<div class="CodeRay">
<div class="code">
<pre><code>
(<span class="i">1</span>..<span class="i">100</span>).each <span class="r">do</span> |i|
  puts i%<span class="i">3</span>==<span class="i">0</span> &amp;&amp; i%<span class="i">5</span>==<span class="i">0</span> ? <span class="s"><span class="dl">&quot;</span><span class="k">FizzBuzz</span><span class="dl">&quot;</span></span> : i%<span class="i">5</span>==<span class="i">0</span> ? <span class="s"><span class="dl">&quot;</span><span class="k">Buzz</span><span class="dl">&quot;</span></span> : i%<span class="i">3</span>==<span class="i">0</span> ? <span class="s"><span class="dl">&quot;</span><span class="k">Fizz</span><span class="dl">&quot;</span></span> : i
<span class="r">end</span>
</code></pre>
</div>
</div>
<p>This should be trivial for just about any programmer.  Took me 40 seconds or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/02/27/fizzbuzz-the-ultimate-programmer-weed-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

