<?xml version="1.0" encoding="ISO-8859-1" ?>			<rss version="0.91">
			<channel>
			<title>Breck's Computer Science Blog.</title>
			<link>http://breckyunits.com/cs/</link>
			<description>A blog about computer science topics like algorithms, language design, binary stuff, data structures, etc. </description>
			<language>en-us</language>
				<item>
						<title>How to compare tricks (algorithms)</title>
						<link>http://breckyunits.com/cs/how_to_compare_tricks_algorithms</link>
						<description><p>Tricks differ in a few ways.</p>

<ol>
<li><p>Relevance to the problem at hand. For instance, you wouldn't use a sorting trick to compute the Least Common Denominator.</p></li>
<li><p>Speed to implement. Sometimes you can write a solution in one line of code, but it might not work for large groups of numbers.</p></li>
<li><p>Speed of execution. Some tricks might take longer to write but can execute faster.</p></li>
<li><p>Memory requirements. Some tricks can be very easy to implement and quick to write, but only if you have the memory resources to handle them.</p></li>
</ol>
</description>
						</item><item>
						<title>A note on the word "algorithm"</title>
						<link>http://breckyunits.com/cs/a_note_on_the_word_algorithm</link>
						<description><p>I don't like the word algorithm.</p>

<ul>
<li>Hard to spell.</li>
<li>Too many syllables.</li>
<li>Makes things sounds too complicated.</li>
</ul>

<p>From the Wikipedia <a href="http://en.wikipedia.org/wiki/Algorithm" target="_blank" class="external">definition of algorithm</a>:</p>

<blockquote>
  <p>In mathematics, computing, and related subjects, an algorithm is an effective method for solving a problem using a finite sequence of instructions. Algorithms are used for calculation, data processing, and many other fields.</p>
  
  <p>Each algorithm is a list of well-defined instructions for completing a task. Starting from an initial state, the instructions describe a computation that proceeds through a well-defined series of successive states, eventually terminating in a final ending state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate randomness.</p>
</blockquote>

<h2>A better term: trick</h2>

<p>Instead of algorithms, I'm going to use the simpler word <em>trick</em>.</p>

<p>A trick is a way to solve a problem. A good trick solves it efficiently.</p>

<p>A good magician can perform many different tricks and knows when to use them. Likewise, a good programmer knows many tricks(formerly called algorithms) and knows when to each them.</p>
</description>
						</item>			</channel>
			</rss>
		