<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: [Eclipse Tip] How to use Scrapbook pages in Eclipse?</title>
	<atom:link href="http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/</link>
	<description>Java, web and design</description>
	<lastBuildDate>Sun, 20 May 2012 11:47:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: IBBoard</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-931</link>
		<dc:creator>IBBoard</dc:creator>
		<pubDate>Sat, 14 Nov 2009 04:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-931</guid>
		<description>&quot;When ever I code a complex logic in Java, I often wants to test a part of that complex code to check my logic correctness.&quot;&lt;br&gt;Isn&#039;t that what unit tests are for - testing your logic for correctness? Also, complex logic can often be broken down in to simpler logic, which would remove the problem in the first place :)</description>
		<content:encoded><![CDATA[<p>&#8220;When ever I code a complex logic in Java, I often wants to test a part of that complex code to check my logic correctness.&#8221;<br />Isn&#39;t that what unit tests are for &#8211; testing your logic for correctness? Also, complex logic can often be broken down in to simpler logic, which would remove the problem in the first place <img src='http://veerasundar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IBBoard</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-930</link>
		<dc:creator>IBBoard</dc:creator>
		<pubDate>Fri, 02 Oct 2009 18:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-930</guid>
		<description>Yes and no on the &quot;only testing a portion&quot;. It depends how you use unit tests - i.e. whether they&#039;re part of a decreed process that is added on afterwards, or part of a structured Test Driven Development (which I try to do but sometimes slip up with).

Unit tests can still test little snippets of logic, since you should be breaking your code up in to small chunks. Also, if you use a unit test then it is recorded for future use as well, and any breaking changes you make to your logic will become obvious. &#039;Uncle&#039; Bob Martin&#039;s &quot;Clean Code&quot; book[1] even has (IIRC) a section on explorative unit testing and how it can be useful.

If you&#039;ve not got a clue what your logic is and how it should work then unit tests can also be the building structure to create the logic. It&#039;s all well and good knowing that your logic does what you think it should, but is what you think it should do actually everything it needs to do ;) Without some comparison to known values then you can&#039;t know.

[1] http://www.amazon.co.uk/gp/product/0132350882?ie=UTF8&amp;tag=hiveworldterr-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0132350882</description>
		<content:encoded><![CDATA[<p>Yes and no on the &#8220;only testing a portion&#8221;. It depends how you use unit tests &#8211; i.e. whether they&#8217;re part of a decreed process that is added on afterwards, or part of a structured Test Driven Development (which I try to do but sometimes slip up with).</p>
<p>Unit tests can still test little snippets of logic, since you should be breaking your code up in to small chunks. Also, if you use a unit test then it is recorded for future use as well, and any breaking changes you make to your logic will become obvious. &#8216;Uncle&#8217; Bob Martin&#8217;s &#8220;Clean Code&#8221; book[1] even has (IIRC) a section on explorative unit testing and how it can be useful.</p>
<p>If you&#8217;ve not got a clue what your logic is and how it should work then unit tests can also be the building structure to create the logic. It&#8217;s all well and good knowing that your logic does what you think it should, but is what you think it should do actually everything it needs to do <img src='http://veerasundar.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Without some comparison to known values then you can&#8217;t know.</p>
<p>[1] <a href="http://www.amazon.co.uk/gp/product/0132350882?ie=UTF8&#038;tag=hiveworldterr-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=0132350882" rel="nofollow">http://www.amazon.co.uk/gp/product/0132350882?ie=UTF8&#038;tag=hiveworldterr-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=0132350882</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-929</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Fri, 02 Oct 2009 06:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-929</guid>
		<description>@ Steven

Yes. Scrapbook page feature has been there in Eclipse for a long time. But relatively very few developers know about this handy stuff.</description>
		<content:encoded><![CDATA[<p>@ Steven</p>
<p>Yes. Scrapbook page feature has been there in Eclipse for a long time. But relatively very few developers know about this handy stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steven</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-928</link>
		<dc:creator>steven</dc:creator>
		<pubDate>Fri, 02 Oct 2009 05:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-928</guid>
		<description>wow, handy stuff. apparently this has been around for a while</description>
		<content:encoded><![CDATA[<p>wow, handy stuff. apparently this has been around for a while</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-927</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Thu, 01 Oct 2009 16:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-927</guid>
		<description>@ppow

Agree on that. Scrapbook pages are good for evaluating  a piece of code.</description>
		<content:encoded><![CDATA[<p>@ppow</p>
<p>Agree on that. Scrapbook pages are good for evaluating  a piece of code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ppow</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-926</link>
		<dc:creator>ppow</dc:creator>
		<pubDate>Thu, 01 Oct 2009 15:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-926</guid>
		<description>I agree with IBBoard:  whenever you have a non-trivial part of code that you might want to check for correctness you should encapsulate it and create an unit test for it.

Having said that I see the usefulness of scrapbook: its a great place for experimenting and checking/evaluating the possible solutions</description>
		<content:encoded><![CDATA[<p>I agree with IBBoard:  whenever you have a non-trivial part of code that you might want to check for correctness you should encapsulate it and create an unit test for it.</p>
<p>Having said that I see the usefulness of scrapbook: its a great place for experimenting and checking/evaluating the possible solutions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-925</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Thu, 01 Oct 2009 13:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-925</guid>
		<description>@IBBoard

Unit test are entirely different from this Scrapbook pages. When you want to test the complete class for the functionality, Unit tests are helpful.

But what I wanted to say is when only the portion of the code that needs to be evaluated, Scrapbook pages are handy. :)</description>
		<content:encoded><![CDATA[<p>@IBBoard</p>
<p>Unit test are entirely different from this Scrapbook pages. When you want to test the complete class for the functionality, Unit tests are helpful.</p>
<p>But what I wanted to say is when only the portion of the code that needs to be evaluated, Scrapbook pages are handy. <img src='http://veerasundar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IBBoard</title>
		<link>http://veerasundar.com/blog/2009/10/eclipse-tip-how-to-use-scrapbook-pages-in-eclipse/#comment-924</link>
		<dc:creator>IBBoard</dc:creator>
		<pubDate>Thu, 01 Oct 2009 13:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://veerasundar.com/blog/?p=807#comment-924</guid>
		<description>&quot;When ever I code a complex logic in Java, I often wants to test a part of that complex code to check my logic correctness.&quot;
Isn&#039;t that what unit tests are for - testing your logic for correctness? Also, complex logic can often be broken down in to simpler logic, which would remove the problem in the first place :)</description>
		<content:encoded><![CDATA[<p>&#8220;When ever I code a complex logic in Java, I often wants to test a part of that complex code to check my logic correctness.&#8221;<br />
Isn&#8217;t that what unit tests are for &#8211; testing your logic for correctness? Also, complex logic can often be broken down in to simpler logic, which would remove the problem in the first place <img src='http://veerasundar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

