<?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: Things that are easier in Scala vol 1</title>
	<atom:link href="http://tardigra.de/?feed=rss2&#038;p=50" rel="self" type="application/rss+xml" />
	<link>http://tardigra.de/?p=50</link>
	<description>Various Software Engineering Ramblings</description>
	<lastBuildDate>Thu, 26 Aug 2010 11:03:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: astubbs</title>
		<link>http://tardigra.de/?p=50&#038;cpage=1#comment-14</link>
		<dc:creator>astubbs</dc:creator>
		<pubDate>Wed, 05 Aug 2009 21:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.themcwongs.com/?p=50#comment-14</guid>
		<description>A couple of things..&lt;br&gt;&lt;br&gt;a) If you make it a trait - you can mix it in and just call tryNTimes without the object classifier - that&#039;s closer still, right?&lt;br&gt;&lt;br&gt;&lt;br&gt;b) You can still retry and function, by creating a curried function or function pointer and passing that in:&lt;br&gt;&lt;br&gt;def myFunc(s:String) { println(s) }&lt;br&gt;def toRetry = myFunc(&quot;Hi!&quot;)&lt;br&gt;tryNTimes(toRetry, 5)&lt;br&gt;&lt;br&gt;right? I used this style in some test code I just wrote, where I had a test sequence that applied to several code blocks, some that took params.</description>
		<content:encoded><![CDATA[<p>A couple of things..</p>
<p>a) If you make it a trait &#8211; you can mix it in and just call tryNTimes without the object classifier &#8211; that&#39;s closer still, right?</p>
<p>b) You can still retry and function, by creating a curried function or function pointer and passing that in:</p>
<p>def myFunc(s:String) { println(s) }<br />def toRetry = myFunc(&#8220;Hi!&#8221;)<br />tryNTimes(toRetry, 5)</p>
<p>right? I used this style in some test code I just wrote, where I had a test sequence that applied to several code blocks, some that took params.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: astubbs</title>
		<link>http://tardigra.de/?p=50&#038;cpage=1#comment-9</link>
		<dc:creator>astubbs</dc:creator>
		<pubDate>Wed, 05 Aug 2009 17:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.themcwongs.com/?p=50#comment-9</guid>
		<description>A couple of things..&lt;br&gt;&lt;br&gt;a) If you make it a trait - you can mix it in and just call tryNTimes without the object classifier - that&#039;s closer still, right?&lt;br&gt;&lt;br&gt;&lt;br&gt;b) You can still retry and function, by creating a curried function or function pointer and passing that in:&lt;br&gt;&lt;br&gt;def myFunc(s:String) { println(s) }&lt;br&gt;def toRetry = myFunc(&quot;Hi!&quot;)&lt;br&gt;tryNTimes(toRetry, 5)&lt;br&gt;&lt;br&gt;right? I used this style in some test code I just wrote, where I had a test sequence that applied to several code blocks, some that took params.</description>
		<content:encoded><![CDATA[<p>A couple of things..</p>
<p>a) If you make it a trait &#8211; you can mix it in and just call tryNTimes without the object classifier &#8211; that&#39;s closer still, right?</p>
<p>b) You can still retry and function, by creating a curried function or function pointer and passing that in:</p>
<p>def myFunc(s:String) { println(s) }<br />def toRetry = myFunc(&#8220;Hi!&#8221;)<br />tryNTimes(toRetry, 5)</p>
<p>right? I used this style in some test code I just wrote, where I had a test sequence that applied to several code blocks, some that took params.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A slightly cleaner Java Retryable - mccv</title>
		<link>http://tardigra.de/?p=50&#038;cpage=1#comment-3</link>
		<dc:creator>A slightly cleaner Java Retryable - mccv</dc:creator>
		<pubDate>Thu, 28 May 2009 00:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.themcwongs.com/?p=50#comment-3</guid>
		<description>[...] my last post I walked through an implementation of a class that retries an operation N times before failing. [...]</description>
		<content:encoded><![CDATA[<p>[...] my last post I walked through an implementation of a class that retries an operation N times before failing. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khrabrov</title>
		<link>http://tardigra.de/?p=50&#038;cpage=1#comment-2</link>
		<dc:creator>khrabrov</dc:creator>
		<pubDate>Sat, 23 May 2009 05:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.themcwongs.com/?p=50#comment-2</guid>
		<description>Wow!  Just in time as I&#039;m contemplating retrying slurping of a user&#039;s tweets.  I&#039;ll add something like &quot;requeue&quot; as the final result where all N tries failed.</description>
		<content:encoded><![CDATA[<p>Wow!  Just in time as I&#39;m contemplating retrying slurping of a user&#39;s tweets.  I&#39;ll add something like &#8220;requeue&#8221; as the final result where all N tries failed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
