<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for jamesladdcode.com</title>
	<link>http://jamesladdcode.com</link>
	<description>code koans and other food for thought ...</description>
	<pubDate>Fri, 10 Sep 2010 22:04:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>Comment on Java Cucumber (cuke4duke) Spring 3 and Selenium Test Jump Start &#8230; by Gooder Code</title>
		<link>http://jamesladdcode.com/?p=316#comment-432</link>
		<author>Gooder Code</author>
		<pubDate>Mon, 12 Jul 2010 16:59:07 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=316#comment-432</guid>
		<description>&lt;strong&gt;Using Cucumber tests with Maven and Java...&lt;/strong&gt;

What&#8217;s that?  You like using Cucumber and want to use it with your Java project but your company ecosystem is not hip to JRuby?  Enter the cukes4duke project, which allows you to run cucumber with most JVM-based languages.
......</description>
		<content:encoded><![CDATA[<p><strong>Using Cucumber tests with Maven and Java&#8230;</strong></p>
<p>What&#8217;s that?  You like using Cucumber and want to use it with your Java project but your company ecosystem is not hip to JRuby?  Enter the cukes4duke project, which allows you to run cucumber with most JVM-based languages.<br />
&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Big Talk &#8230; by AlDavis</title>
		<link>http://jamesladdcode.com/?p=73#comment-420</link>
		<author>AlDavis</author>
		<pubDate>Tue, 05 Jan 2010 19:30:19 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=73#comment-420</guid>
		<description>Hi, Allen Davis here.  I began development of a Smalltalk to Java compiler and development tools in the late 1990s.  I have a mature set of code that I would be willing to make available.  I know there have been several different attempts at targeting Smalltalk code for the JVM.  If there is enough interest maybe we could work together.</description>
		<content:encoded><![CDATA[<p>Hi, Allen Davis here.  I began development of a Smalltalk to Java compiler and development tools in the late 1990s.  I have a mature set of code that I would be willing to make available.  I know there have been several different attempts at targeting Smalltalk code for the JVM.  If there is enough interest maybe we could work together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clean Code: an example &#8230; by Carfield Yim</title>
		<link>http://jamesladdcode.com/?p=301#comment-419</link>
		<author>Carfield Yim</author>
		<pubDate>Mon, 19 Oct 2009 02:31:54 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=301#comment-419</guid>
		<description>Thanks a lot, BTW the method name is just copy from the article</description>
		<content:encoded><![CDATA[<p>Thanks a lot, BTW the method name is just copy from the article</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clean Code: an example &#8230; by james</title>
		<link>http://jamesladdcode.com/?p=301#comment-418</link>
		<author>james</author>
		<pubDate>Sun, 18 Oct 2009 21:10:13 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=301#comment-418</guid>
		<description>Hi Carfield,

Thank you for commenting.

Nice method name.

It would break SRP subtly and East. Why not ask something to add to an empty set the set of users who's book subscriptions have expired. A single responsibility. Then ask something to send notification to the entire set. Another single responsibility, given this sender, calls something else to make the actual email.  

I hope this helps.

Rgs, James.</description>
		<content:encoded><![CDATA[<p>Hi Carfield,</p>
<p>Thank you for commenting.</p>
<p>Nice method name.</p>
<p>It would break SRP subtly and East. Why not ask something to add to an empty set the set of users who&#8217;s book subscriptions have expired. A single responsibility. Then ask something to send notification to the entire set. Another single responsibility, given this sender, calls something else to make the actual email.  </p>
<p>I hope this helps.</p>
<p>Rgs, James.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clean Code: an example &#8230; by Carfield Yim</title>
		<link>http://jamesladdcode.com/?p=301#comment-417</link>
		<author>Carfield Yim</author>
		<pubDate>Fri, 16 Oct 2009 09:02:17 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=301#comment-417</guid>
		<description>I would like to change 

public void notifyUsersWhoseBookSubscriptionsHaveExpired()

to 

public int notifyUsersWhoseBookSubscriptionsHaveExpired()

so that we know how many email have sent out, may be for unit testing , will you think that break SRP?</description>
		<content:encoded><![CDATA[<p>I would like to change </p>
<p>public void notifyUsersWhoseBookSubscriptionsHaveExpired()</p>
<p>to </p>
<p>public int notifyUsersWhoseBookSubscriptionsHaveExpired()</p>
<p>so that we know how many email have sent out, may be for unit testing , will you think that break SRP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A new blog commenting on East by james</title>
		<link>http://jamesladdcode.com/?p=304#comment-416</link>
		<author>james</author>
		<pubDate>Mon, 12 Oct 2009 08:41:54 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=304#comment-416</guid>
		<description>I should have also mentioned that you could have mocked the GiftSender rather than making a proper class for it, then testing the interaction only, which depending on mocking framework would be less code.</description>
		<content:encoded><![CDATA[<p>I should have also mentioned that you could have mocked the GiftSender rather than making a proper class for it, then testing the interaction only, which depending on mocking framework would be less code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A new blog commenting on East by james</title>
		<link>http://jamesladdcode.com/?p=304#comment-415</link>
		<author>james</author>
		<pubDate>Sun, 11 Oct 2009 21:11:55 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=304#comment-415</guid>
		<description>dkallen,

Thank you for taking the time to write the code and post it.

I noticed in the Westward code that you are already Eastward, in that you don't return a date of birth nor the gender.  This is great. The benefit of the Eastward approach would already be known to you. However, if you want to see more contrast, then expose the date and gender and see the resulting code.

I also noticed the the GiftSender was also East, a nice touch.</description>
		<content:encoded><![CDATA[<p>dkallen,</p>
<p>Thank you for taking the time to write the code and post it.</p>
<p>I noticed in the Westward code that you are already Eastward, in that you don&#8217;t return a date of birth nor the gender.  This is great. The benefit of the Eastward approach would already be known to you. However, if you want to see more contrast, then expose the date and gender and see the resulting code.</p>
<p>I also noticed the the GiftSender was also East, a nice touch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A new blog commenting on East by dkallen</title>
		<link>http://jamesladdcode.com/?p=304#comment-414</link>
		<author>dkallen</author>
		<pubDate>Sun, 11 Oct 2009 04:44:41 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=304#comment-414</guid>
		<description>So, I took your challenge. I tried writing this Eastwards and Westwards. 
The eastward version was slightly more lines of code. I found it harder to read. And I noticed no difference when I changed the representation of the gender. I sense that I missed something. Can you upload the full code you used for this? I did it in Visual Studio 2008 in C# and my project code is located at http://cid-1694a89505687617.skydrive.live.com/self.aspx/Public/EastwardTest.zip

Perhaps my "westward code" is already too eastward to provide any contrast. 

Oh, and I find nested parens to be harder to read than intermediate variables. But I can easily extract variables from them, so I don't get hung up on that.</description>
		<content:encoded><![CDATA[<p>So, I took your challenge. I tried writing this Eastwards and Westwards.<br />
The eastward version was slightly more lines of code. I found it harder to read. And I noticed no difference when I changed the representation of the gender. I sense that I missed something. Can you upload the full code you used for this? I did it in Visual Studio 2008 in C# and my project code is located at <a href="http://cid-1694a89505687617.skydrive.live.com/self.aspx/Public/EastwardTest.zip" rel="nofollow">http://cid-1694a89505687617.skydrive.live.com/self.aspx/Public/EastwardTest.zip</a></p>
<p>Perhaps my &#8220;westward code&#8221; is already too eastward to provide any contrast. </p>
<p>Oh, and I find nested parens to be harder to read than intermediate variables. But I can easily extract variables from them, so I don&#8217;t get hung up on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why do developers re-write rather they re-use? by dkallen</title>
		<link>http://jamesladdcode.com/?p=33#comment-413</link>
		<author>dkallen</author>
		<pubDate>Sun, 11 Oct 2009 04:29:01 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=33#comment-413</guid>
		<description>I too like having unit tests on code I borrow. 

Bertrand Meyer suggested that reuse is hard. Reuse efforts fail because the difficulty is underestimated.  For me to reuse, it must be easier to reuse than to  rewrite. So it must be 
1. well-documented (part of a well-indexed, categorized, searchable library)
2. reliable
3. readable
4. modular

Bertrand would say that adding contracts to the code helps with some of these.</description>
		<content:encoded><![CDATA[<p>I too like having unit tests on code I borrow. </p>
<p>Bertrand Meyer suggested that reuse is hard. Reuse efforts fail because the difficulty is underestimated.  For me to reuse, it must be easier to reuse than to  rewrite. So it must be<br />
1. well-documented (part of a well-indexed, categorized, searchable library)<br />
2. reliable<br />
3. readable<br />
4. modular</p>
<p>Bertrand would say that adding contracts to the code helps with some of these.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SmalltalkJVM: From dream to &#8230; by steve.rees</title>
		<link>http://jamesladdcode.com/?p=297#comment-412</link>
		<author>steve.rees</author>
		<pubDate>Wed, 26 Aug 2009 13:31:05 +0000</pubDate>
		<guid>http://jamesladdcode.com/?p=297#comment-412</guid>
		<description>Hi James,
Sounds like an interesting project. I'll be really interested to see your approach. I presume invokedynamic will take care of the message send semantics. (How) do you plan to provide Exception handing support and Contexts? From what I understand a Seaside port will depend on that latter in particular. Any idea when you are likely to open up the github repo?

Steve

BTW I'm a maintainer for the Strongtalk VM, so this is slightly more than idle curiousity. I also have a bit of knowledge about ST VM implementation.</description>
		<content:encoded><![CDATA[<p>Hi James,<br />
Sounds like an interesting project. I&#8217;ll be really interested to see your approach. I presume invokedynamic will take care of the message send semantics. (How) do you plan to provide Exception handing support and Contexts? From what I understand a Seaside port will depend on that latter in particular. Any idea when you are likely to open up the github repo?</p>
<p>Steve</p>
<p>BTW I&#8217;m a maintainer for the Strongtalk VM, so this is slightly more than idle curiousity. I also have a bit of knowledge about ST VM implementation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
