<?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>Geekality &#187; Books</title>
	<atom:link href="http://www.geekality.net/tag/books/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekality.net</link>
	<description>With a hint of Social Ineptitude</description>
	<lastBuildDate>Tue, 27 Jul 2010 16:15:56 +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>Test-Driven Development: By Example</title>
		<link>http://www.geekality.net/2009/12/01/test-driven-development-by-example/</link>
		<comments>http://www.geekality.net/2009/12/01/test-driven-development-by-example/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:36:16 +0000</pubDate>
		<dc:creator>Torleif</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://www.geekality.net/?p=858</guid>
		<description><![CDATA[I earlier wrote about the book, The Art of Unit Testing, which I finished a while ago. That book was very good and was focused on how to write good unit tests. It also mentioned Test-Driven Development, TDD, but not &#8230; <a href="http://www.geekality.net/2009/12/01/test-driven-development-by-example/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.geekality.net/wp-content/uploads/2009/12/Test-Driven-Development-By-Example-Cover-239x300.jpg" alt="Test Driven Development By Example (Cover)" title="Test Driven Development By Example (Cover)" width="239" height="300" class="alignright size-medium wp-image-861" />I earlier wrote about the book, <a href="http://www.geekality.net/2009/11/03/the-art-of-unit-testing/">The Art of Unit Testing</a>, which I finished a while ago. That book was very good and was focused on how to write good unit tests. It also mentioned <a href="http://en.wikipedia.org/wiki/Test-driven_development">Test-Driven Development,</a> TDD, but not too much. The book I read next, which I finished a few days ago, was kind of the other way around. Pretty much only about TDD. And from the title, <em>Test-Driven Development: By Example</em>, that shouldn&#8217;t be much of a shocker <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':P' title=':P' class='wp-smiley smiley-13' /> </p>
<p><span id="more-858"></span></p>
<p>The book is written by <a href="http://en.wikipedia.org/wiki/Kent_Beck">Kent Beck</a> and explains the basics about TDD. It does this pretty well, step by step, by example, just like the title says. The book also talks some about TDD in a more general sense. What it is, how it works, why it works, et cetera.</p>
<p>From the back-cover:</p>
<blockquote><p>Readers will learn to:
<ul>
<li>Solve complicated tasks, beginning with the simple and proceeding to the more complex.</li>
<li>Write automated tests before coding.</li>
<li>Grow a design organically by refactoring to add design decisions one at a time.</li>
<li>Create tests for more complicated logic, including reflection and exceptions.</li>
<li>Use patterns to decide what tests to write.</li>
<li>Create tests using xUnit, the architecture at the heart of many programmer-oriented testing tools.</li>
</ul>
</blockquote>
<p>It pretty much kept the promises <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' title=':)' class='wp-smiley smiley-1' /> The only part I didn&#8217;t really like about this book was that I found much of the coding kind of messy. Could be because the languages used in the examples are Java and Python, which I don&#8217;t really like that much syntax-wise. An even more important reason though, is that I just finished reading The Art of Unit Testing <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':P' title=':P' class='wp-smiley smiley-13' /> So, I suppose I have become a bit demanding when it comes to cleanliness when coding and writing unit-tests. I suppose that is a good thing <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':D' title=':D' class='wp-smiley smiley-8' /> (I do however not claim in any way that the code I currently write is extremely clean in any way! But I do strive for it to be so <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=';)' title=';)' class='wp-smiley smiley-20' /> )</p>
<p>I can really recommend this book to anyone who are curious to get familiar with TDD. I certainly see the value of doing TDD and is in the process of trying to incorporate it into my development habits.</p>
<blockquote><ol>
<li>Red &#8212; Write a little test that doesn&#8217;t work, and perhaps doesn&#8217;t even compile at first.</li>
<li>Green &#8212; Make the test work quicky, committing whatever sins necessary in the process.</li>
<li>Refactor &#8212; Eliminate all of the duplication created in merely getting the test to work.</li>
</ol>
<p>Red/green/refactor &#8212; the TDD mantra.</p></blockquote>
<p>You can get it at <a href="http://amzn.com/0321146530">Amazon</a>, and probably a lot of other places too as it is a pretty well-known book.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekality.net/2009/12/01/test-driven-development-by-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Art of Unit Testing</title>
		<link>http://www.geekality.net/2009/11/03/the-art-of-unit-testing/</link>
		<comments>http://www.geekality.net/2009/11/03/the-art-of-unit-testing/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 21:04:42 +0000</pubDate>
		<dc:creator>Torleif</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[Unit-Testing]]></category>

		<guid isPermaLink="false">http://www.geekality.net/?p=722</guid>
		<description><![CDATA[Have you gone through three years of computer science bachelor degree fun (or anything similar) and pretty much not heard a word about testing? Or have you heard from all your teachers that testing is extremely important, but never learned &#8230; <a href="http://www.geekality.net/2009/11/03/the-art-of-unit-testing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.geekality.net/wp-content/uploads/2009/11/osherove_cover150.jpg" alt="The Art of Unit Testing (Book cover)" title="The Art of Unit Testing (Book cover)" width="150" height="186" class="alignright size-full wp-image-723" />Have you gone through three years of computer science bachelor degree fun (or anything similar) and pretty much not heard a word about testing? Or have you heard from all your teachers that testing is <em>extremely important</em>, but never learned how to even write one? That has been the case for me. <cite>Testing is important, you all got to do it, it is very important, always test, do it a lot!</cite> Well, sure&#8230; but how do I do it? How do I write one of these tests?</p>
<p><span id="more-722"></span></p>
<p>The last book I finished is called <a href="http://www.manning.com/osherove/">The Art of Unit Testing</a>, and I am <em>so</em> happy that I stumbled over that book. Spring 2009 I was at a developer conference called <a href="http://www.ndc2009.no/">NDC 2009</a> (Norwegian Developer Conference) and it was <em>really</em> great. If you have the time, you should go to that website and have a look. You can watch most of the talks there online. Anyways, the second day I attended a series of talks about <a href="http://en.wikipedia.org/wiki/Test_driven_development">Test Driven Development</a> with a great speaker called <a href="http://weblogs.asp.net/ROsherove/">Roy Osherove</a>. I learned a bunch and decided that TDD looks like something I should try to learn. However, I had a big problem. I didn&#8217;t even know how to write a test. And doing TDD without knowing how to write a test is kind of difficult&#8230; to say the least&#8230;</p>
<p>Anyways, this Roy Osherove person advertised that he had just finished a book about pretty much exactly that; writing unit tests. So, I decided to get myself a copy of it. </p>
<p>It was great! Seriously learned <em>a lot</em>. It covers the following subjects (yes, that would be the table of contents).</p>
<ol>
<li>The basics of unit testing</li>
<li>A first unit test</li>
<li>Using stubs to break dependencies</li>
<li>Interaction testing using mock objects</li>
<li>Isolation (mock object) frameworks</li>
<li>Test hierarchies and organization</li>
<li>The pillars of good tests</li>
<li>Integrating unit testing into the organization</li>
<li>Design and testability (Appendix A)</li>
<li>Extra tools and frameworks (Appendix B)</li>
</ol>
<p>It is only 283 pages long (including the appendixes) and a pretty quick and easy read. Which I like. I got sucked in, and it was finished <em>fast</em>. Probably should read it again some time <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':P' title=':P' class='wp-smiley smiley-13' /> But anyways: I previously did not even know how to write a single unit test in any language. Now I do <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' title=':)' class='wp-smiley smiley-1' /> </p>
<p>You can get it from for example <a href="http://www.manning.com/osherove/">Manning</a> (who is the publisher) or from <a href="http://amzn.com/1933988274">Amazon</a>. I would probably get it from Amazon since they seem to have a 34% discount currently&#8230; Except I already have it, of course <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':P' title=':P' class='wp-smiley smiley-13' /> </p>
<p>If you want to learn how to do unit testing, I can recommend it with all my heart <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' title=':)' class='wp-smiley smiley-1' /> </p>
<p>Oh, by the way, when you buy this book, you even get a free eBook version of it! Which is totally brilliant, since then you can have the book and read it at home, but you can also for example put the eBook version on your <a href="http://en.wikipedia.org/wiki/Netbook">netbook</a> and read while travelling. Awesome all the way <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt='8)' title='8)' class='wp-smiley smiley-3' /> Wish more publishers or authors (or whoever decides) were like that&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekality.net/2009/11/03/the-art-of-unit-testing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wild at Heart</title>
		<link>http://www.geekality.net/2009/09/22/wild-at-heart/</link>
		<comments>http://www.geekality.net/2009/09/22/wild-at-heart/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 18:58:45 +0000</pubDate>
		<dc:creator>Torleif</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Genders]]></category>
		<category><![CDATA[Men]]></category>

		<guid isPermaLink="false">http://www.geekality.net/?p=435</guid>
		<description><![CDATA[The other day I started reading a book called Wild at Heart. So far it has been a great book and fun to read. Certain things has already started to make a bit more sense than they did before. Two &#8230; <a href="http://www.geekality.net/2009/09/22/wild-at-heart/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://upload.wikimedia.org/wikipedia/en/4/47/Wild_at_Heart.jpg" alt="The book cover of Wild at Heart" title="The book cover of Wild at Heart" width="266" height="410" class="alignright" />The other day I started reading a book called Wild at Heart. So far it has been a great book and fun to read. Certain things has already started to make a bit more sense than they did before.</p>
<p>Two of the many very interesting paragraphs from it:</p>
<blockquote><p>There are three desires I find written so deeply into my heart I know now I can no longer disregard them without losing my soul. They are core to who and what I am and yearn to be. I gaze into boyhood, I search the pages of literature, I listen carefully to many, many men, and I am convinced these desires are universal, a clue into masculinity itself. They may be misplaced, forgotten, or misdirected, but in the heart of every man is a desperate desire for a battle to fight, an adventure to live, and a beauty to rescue. I want o you think of the films men love, the things they do with their free time, and especially the aspirations of little boys and see if I am not right on this.
</p></blockquote>
<blockquote><p>There are also three desires that I have found essential to a woman&#8217;s heart, which are not entirely different from a man&#8217;s and yet they remain distinctly feminine. Not every woman wants a battle to fight, but every woman years to fought <em>for</em>. Listen to the longing of a woman&#8217;s heart: She wants to be more than noticed&#8212;she wants to be <em>wanted</em>. &#8230; Every woman also wants an adventure to <em>share</em>. &#8230; So many men make the mistake of thinking that the woman <em>is</em> the adventure. But that is where the relationship immediately goes downhill. A woman doesn&#8217;t want to be the adventure; she wants to be caught up into something greater than herself. &#8230; And finally, every woman wants to have a beauty to unveil. Not to conjure, but to unveil. Most women feel the pressure to be beautiful from very young, but that is not what I speak of. There is also a deep desire to simply and truly <em>be</em> the beauty, and be delighted in.</p></blockquote>
<p>OK, actually that last one is three paragraphs in the book. But tried to get the similar three points that was mentioned for men (And for men they are each elaborated in three sub chapters).</p>
<p>Aaaanyways, very interesting book. You should definitely read it, especially if you are a guy. Could be interesting if you are a woman too of course, but I can only speak for myself, who is a guy. For women there is actually a similar book called Captivating, which I have heard is very good as well. I haven&#8217;t read it yet though&#8230; but I will <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=';)' title=';)' class='wp-smiley smiley-20' /> </p>
<p>Highly recommend them! Get them from Amazon, they are not even expensive <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':D' title=':D' class='wp-smiley smiley-8' /> </p>
<ul>
<li><a href="http://amzn.com/0785287965">Wild at Heart</a></li>
<li><a href="http://amzn.com/B000TG2FVC">Captivating</a></li>
</ul>
<p>What do <em>you</em> think about this matter? Did it sound about right? What is in the innermost parts of your heart?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekality.net/2009/09/22/wild-at-heart/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
