<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Doodling with Moose (part 1)</title>
	<atom:link href="http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/</link>
	<description>my ramblings on life, work &#38; anything left in-between</description>
	<lastBuildDate>Wed, 21 Jul 2010 13:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: draegtun</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-539</link>
		<dc:creator>draegtun</dc:creator>
		<pubDate>Tue, 24 Feb 2009 13:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-539</guid>
		<description>Hi Sean,

I suppose there is a good reason why &quot;eval&quot; sounds and looks so similar to &quot;evil&quot;  ;-) .  &#160;&#160;  But yes there are times when you just have to be &quot;evil&quot; with your code!!

Keep up the good work on Doodle.   It could be a useful module to have in ones toolbox when switching between Perl &amp; Ruby code in the future!

regards Barry</description>
		<content:encoded><![CDATA[<p>Hi Sean,</p>
<p>I suppose there is a good reason why &#8220;eval&#8221; sounds and looks so similar to &#8220;evil&#8221;  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  .  &nbsp;&nbsp;  But yes there are times when you just have to be &#8220;evil&#8221; with your code!!</p>
<p>Keep up the good work on Doodle.   It could be a useful module to have in ones toolbox when switching between Perl &amp; Ruby code in the future!</p>
<p>regards Barry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean O'Halpin</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-538</link>
		<dc:creator>Sean O'Halpin</dc:creator>
		<pubDate>Tue, 24 Feb 2009 08:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-538</guid>
		<description>Hi,

Most rubyists do subscribe to the notion that &#039;eval is evil&#039; but as Piers points out there are some limitations in ruby 1.8.6 that sometimes force you to use it.

doodle uses string eval only to get around a limitation of ruby 1.8.6&#039;s define_method which does not allow blocks as arguments. Otherwise, there&#039;s nothing in the collector code that couldn&#039;t be done cleanly (though the current implementation pragmatically takes advantage of the fact that the line has already been crossed). The upcoming revision of doodle for ruby 1.8.7 and 1.9.1 will not have to use any string evals.

Regards,
Sean</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Most rubyists do subscribe to the notion that &#8216;eval is evil&#8217; but as Piers points out there are some limitations in ruby 1.8.6 that sometimes force you to use it.</p>
<p>doodle uses string eval only to get around a limitation of ruby 1.8.6&#8242;s define_method which does not allow blocks as arguments. Otherwise, there&#8217;s nothing in the collector code that couldn&#8217;t be done cleanly (though the current implementation pragmatically takes advantage of the fact that the line has already been crossed). The upcoming revision of doodle for ruby 1.8.7 and 1.9.1 will not have to use any string evals.</p>
<p>Regards,<br />
Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: draegtun</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-534</link>
		<dc:creator>draegtun</dc:creator>
		<pubDate>Fri, 20 Feb 2009 21:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-534</guid>
		<description>Hi Piers,

Just want to to say I really enjoyed your MooseX::Declare presentation at the London Perl Mongers tech talk last night.    

Unfortunately didn&#039;t get chance to introduce myself because had to leave straight after the event.    By the sounds of your rekindled joy for using MooSex... sorry Perl ;-)   ....  then we may still bump into each other at some point in the near future. 

regards Barry</description>
		<content:encoded><![CDATA[<p>Hi Piers,</p>
<p>Just want to to say I really enjoyed your MooseX::Declare presentation at the London Perl Mongers tech talk last night.    </p>
<p>Unfortunately didn&#8217;t get chance to introduce myself because had to leave straight after the event.    By the sounds of your rekindled joy for using MooSex&#8230; sorry Perl <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />    &#8230;.  then we may still bump into each other at some point in the near future. </p>
<p>regards Barry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-488</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Fri, 15 Aug 2008 07:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-488</guid>
		<description>&quot;String eval as metaprogramming&quot; - problem with Ruby in this regard is that you run into the &quot;You must use string eval&quot; wall surprisingly quickly. There&#039;s always people who&#039;ll tell you that you should use string eval because it&#039;s faster, but they&#039;re just idiots. Some of the stuff in Ruby 1.9 means that Ruby metaprogrammers will hit that wall a good deal later, but it&#039;s still problematic.</description>
		<content:encoded><![CDATA[<p>&#8220;String eval as metaprogramming&#8221; &#8211; problem with Ruby in this regard is that you run into the &#8220;You must use string eval&#8221; wall surprisingly quickly. There&#8217;s always people who&#8217;ll tell you that you should use string eval because it&#8217;s faster, but they&#8217;re just idiots. Some of the stuff in Ruby 1.9 means that Ruby metaprogrammers will hit that wall a good deal later, but it&#8217;s still problematic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enquire</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-485</link>
		<dc:creator>Enquire</dc:creator>
		<pubDate>Thu, 19 Jun 2008 15:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-485</guid>
		<description>Somehow i missed the point. Probably lost in translation :) Anyway ... nice blog to visit.

cheers, Enquire!!!!</description>
		<content:encoded><![CDATA[<p>Somehow i missed the point. Probably lost in translation <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Anyway &#8230; nice blog to visit.</p>
<p>cheers, Enquire!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevan Little</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-461</link>
		<dc:creator>Stevan Little</dc:creator>
		<pubDate>Sun, 30 Mar 2008 15:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-461</guid>
		<description>Barry,

No I didn&#039;t look too closely at the implementation of the collectors. Ruby people don&#039;t seem to have a problem with &quot;sting eval as metaprogramming&quot; as much as the Perl community does. 

It seems to me that it&#039;s primarily just &quot;inline&quot; coercions, rather then the more global type centric coercions that Moose offers. 

- Stevan</description>
		<content:encoded><![CDATA[<p>Barry,</p>
<p>No I didn&#8217;t look too closely at the implementation of the collectors. Ruby people don&#8217;t seem to have a problem with &#8220;sting eval as metaprogramming&#8221; as much as the Perl community does. </p>
<p>It seems to me that it&#8217;s primarily just &#8220;inline&#8221; coercions, rather then the more global type centric coercions that Moose offers. </p>
<p>- Stevan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: draegtun</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-460</link>
		<dc:creator>draegtun</dc:creator>
		<pubDate>Sun, 30 Mar 2008 14:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-460</guid>
		<description>Hi Stevan,

Yes I look forward to popping into #moose IRC in the near future.   After my last comment I did subscribe to the Moose mailing list so perhaps u will see my head pop up there pretty soon.

This collector doesn&#039;t (necessarily) scratch an immediate production itch for me but there&#039;s plenty of other Moose stuff that I need to get my teeth into.

Barry

PS. Did have a quick look at how Doodle collector worked.  From what I can see it uses an eval string to do all its magic.  Hmmm... not sure if this is the route u would want to use in Moose?</description>
		<content:encoded><![CDATA[<p>Hi Stevan,</p>
<p>Yes I look forward to popping into #moose IRC in the near future.   After my last comment I did subscribe to the Moose mailing list so perhaps u will see my head pop up there pretty soon.</p>
<p>This collector doesn&#8217;t (necessarily) scratch an immediate production itch for me but there&#8217;s plenty of other Moose stuff that I need to get my teeth into.</p>
<p>Barry</p>
<p>PS. Did have a quick look at how Doodle collector worked.  From what I can see it uses an eval string to do all its magic.  Hmmm&#8230; not sure if this is the route u would want to use in Moose?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevan Little</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-459</link>
		<dc:creator>Stevan Little</dc:creator>
		<pubDate>Mon, 24 Mar 2008 13:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-459</guid>
		<description>Barry,

You should come by #moose on irc.perl.org and discuss a MooseX:: collector module of some kind. There were several other people interested in a more automagic coercion solution, and the collector idea would fit in right nicely with this I think.

- Stevan</description>
		<content:encoded><![CDATA[<p>Barry,</p>
<p>You should come by #moose on irc.perl.org and discuss a MooseX:: collector module of some kind. There were several other people interested in a more automagic coercion solution, and the collector idea would fit in right nicely with this I think.</p>
<p>- Stevan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: draegtun</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-458</link>
		<dc:creator>draegtun</dc:creator>
		<pubDate>Mon, 24 Mar 2008 11:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-458</guid>
		<description>Hi Stevan.  

Many thanks for the comment and keep up the excellent work on Moose.

Yes the &quot;Collector&quot; feature in Doodle does look interesting and so the coerce on &#039;Places&#039; required extra lines in this Moose example to mimic it.   And I totally agree with u about the coercions &amp; code size... it shouldn&#039;t be changed because they&#039;re beautifully declarative.

When I get around to &quot;Part 2&quot; (yeah... dream on!) I was hoping to mention that they might be a &quot;Collector&quot; equivalent in Moose but u&#039;ve now answered that question ;-(     Still perhaps a MooseX Collector module is around the corner from one of us!

/I3az/


PS. I did first look at Moose back in 2006.   However at the time I had just initiated a style guide policy using PBP for all our code and so was using Class::Std everywhere.   Anyway got some big projects with a new startup and I plan to use Moose from now on in.</description>
		<content:encoded><![CDATA[<p>Hi Stevan.  </p>
<p>Many thanks for the comment and keep up the excellent work on Moose.</p>
<p>Yes the &#8220;Collector&#8221; feature in Doodle does look interesting and so the coerce on &#8216;Places&#8217; required extra lines in this Moose example to mimic it.   And I totally agree with u about the coercions &amp; code size&#8230; it shouldn&#8217;t be changed because they&#8217;re beautifully declarative.</p>
<p>When I get around to &#8220;Part 2&#8243; (yeah&#8230; dream on!) I was hoping to mention that they might be a &#8220;Collector&#8221; equivalent in Moose but u&#8217;ve now answered that question ;-(     Still perhaps a MooseX Collector module is around the corner from one of us!</p>
<p>/I3az/</p>
<p>PS. I did first look at Moose back in 2006.   However at the time I had just initiated a style guide policy using PBP for all our code and so was using Class::Std everywhere.   Anyway got some big projects with a new startup and I plan to use Moose from now on in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stevan Little</title>
		<link>http://transfixedbutnotdead.com/2008/03/12/doodling-with-moose-part-1/#comment-457</link>
		<dc:creator>Stevan Little</dc:creator>
		<pubDate>Thu, 20 Mar 2008 21:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=24#comment-457</guid>
		<description>Cool post, it&#039;s interesting to see how Moose and Ruby compare.

&gt; The Moose example produced twice as many lines!

I think actually most of the code size difference seems to be in the coercion. Of course it could probably be golfed down a bit, but that kills maintainability so probably not worth it.

The &quot;Collector&quot; feature in Doodle actually looks very cool, and would make an excellent Moose extension (MooseX:: module).</description>
		<content:encoded><![CDATA[<p>Cool post, it&#8217;s interesting to see how Moose and Ruby compare.</p>
<p>&gt; The Moose example produced twice as many lines!</p>
<p>I think actually most of the code size difference seems to be in the coercion. Of course it could probably be golfed down a bit, but that kills maintainability so probably not worth it.</p>
<p>The &#8220;Collector&#8221; feature in Doodle actually looks very cool, and would make an excellent Moose extension (MooseX:: module).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
