<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for Jaime Bellmyer</title><link>http://disqus.com/people/a4dec2fd09973a90b713806ad07b26c4/</link><description></description><language>en</language><lastBuildDate>Mon, 10 Nov 2008 21:11:00 -0000</lastBuildDate><item><title>Re: Dan Manges - Misunderstanding the Law of Demeter</title><link>http://dcmanges.disqus.com/dan_manges_misunderstanding_the_law_of_demeter/#comment-2629752</link><description>I was having trouble wrapping my head around the "why" to the Law of Demeter at first.  I'll post my thoughts here in case they help someone else.&lt;br&gt;&lt;br&gt;Bottom line: as soon as you refer to self.customer.wallet,  you have forced the paperboy to know and abide by the inner workings of the customer.  What if you want to change that someday?  Maybe our customer wants to write a check.  Heck, maybe he wants to check his wallet first, and write a check if he doesn't have the payment in cash!&lt;br&gt;&lt;br&gt;Coding customer.pay(amount) means never caring how the customer will choose to pay in the future.  You access the customer interface (the pay method) and go about your happy life.  This code is tons more maintainable, because changing how a customer pays doesn't affect any other models that require payment.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaime Bellmyer</dc:creator><pubDate>Thu, 25 Sep 2008 15:05:21 -0000</pubDate></item><item><title>Re: Rails 2.0 Timestamps | ruby on rails blog</title><link>http://rubyonrailsblog.disqus.com/rails_20_timestamps_ruby_on_rails_blog/#comment-1907453</link><description>The timestamp columns created are actually 'created_at' and 'updated_at', both datetime fields.  The suffix '_on' denotes a date field, and the suffix '_at' denotes a datetime field.  Thanks for the blog!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaime Bellmyer</dc:creator><pubDate>Thu, 05 Jun 2008 20:10:21 -0000</pubDate></item><item><title>Re: 2008/10/24/railsrumble-contest-apps/</title><link>http://mashable.disqus.com/thread_36030/#comment-6024046</link><description>Thanks for mentioning Poolr!  I was the lone Rails developer on our team, although we had an amazing graphic artist, as well as a member who did some great research and even pitched in on the CSS.  I like your ideas for the site, and we'd certainly like to help manage carpools, not just play matchmaker :)&lt;br&gt;&lt;br&gt;We'll be launching the fuller, production version early next year.  Still looking for the best city to launch with!  We're also looking to develop an office version in parallel that will be open-source, for companies to support the carpooling efforts of their employees.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaime Bellmyer</dc:creator><pubDate>Sun, 09 Nov 2008 11:55:52 -0000</pubDate></item><item><title>Re: A critical look at the current state of Ruby testing</title><link>http://giantrobots.disqus.com/a_critical_look_at_the_current_state_of_ruby_testing/#comment-14587946</link><description>&lt;p&gt;I certainly don&amp;#8217;t pretend to be in the same class as a lot of gurus that have added their two cents to this post.  That being said, I have yet to hear the magic word, &amp;#8220;moderation&amp;#8221;.&lt;/p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;	&lt;p&gt;Contexts don&amp;#8217;t make you nest 10 layers deep.  You do.  I&amp;#8217;d rather have the ability to nest a little, because it&amp;#8217;s one of the things I love about Shoulda and RSpec.  Same goes for one assertion per test. Alex nailed it &amp;#8211; tests should be atomic.  Test as narrow a case as possible, but use all the assertions required to ensure that test passes.&lt;/p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;	&lt;p&gt;As contractors, we have a myopic view.  Of course we&amp;#8217;re stuck learning multiple frameworks. We have to be able to jump into someone else&amp;#8217;s code, and that means maintaining a wider skill set than those who work with the same applications long term.&lt;/p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;	&lt;p&gt;So if that&amp;#8217;s part of the argument for Test::Unit, then factor it out.  Because it&amp;#8217;s not a barrier to entry to any person, team or company looking to adopt Rails.  I&amp;#8217;d say ALWAYS start with Test::Unit, because it&amp;#8217;s the foundation before you decide you need something fancier.&lt;/p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;	&lt;p&gt;Perhaps the greatest time-waster for me personally has been attempting to keep up with what we &amp;#8220;should&amp;#8221; be doing each week :)  Maybe the great lesson in this post transcends testing: find what works, be aware of what&amp;#8217;s new, and only adopt what improves your process.&lt;/p&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;	&lt;p&gt;Wow, I&amp;#8217;m one preachy bastard.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaime Bellmyer</dc:creator><pubDate>Mon, 10 Nov 2008 21:11:00 -0000</pubDate></item></channel></rss>