<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-33777038.post7618825390837860124..comments</id><updated>2010-07-18T14:10:41.849+01:00</updated><category term='linux'/><category term='firefox'/><category term='estimating'/><category term='legacycode'/><category term='sqlserver'/><category term='ddd'/><category term='javascript'/><category term='agile'/><category term='oo'/><category term='books'/><category term='gadgets'/><category term='di'/><category term='programming'/><category term='peopleware'/><category term='professionalism'/><category term='windows'/><category term='tdd'/><category term='quality'/><category term='events'/><category term='softwarecraftsmanship'/><category term='testing'/><category term='aboutme'/><title type='text'>Comments on programmer.grrl: Book Review: Growing Object-Oriented Software, Gui...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.programmergrrl.com/feeds/7618825390837860124/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default'/><link rel='alternate' type='text/html' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html'/><author><name>programmergrrl</name><uri>http://www.blogger.com/profile/08045944515241515020</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_yLiQDoD41F4/S1xTWXfrlEI/AAAAAAAAADo/wYU36i7yJH8/S220/Rosie.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-33777038.post-178743935361582342</id><published>2010-07-18T14:10:41.843+01:00</published><updated>2010-07-18T14:10:41.843+01:00</updated><title type='text'>Ross,

Well, a book probably isn&amp;#39;t the best wa...</title><content type='html'>Ross,&lt;br /&gt;&lt;br /&gt;Well, a book probably isn&amp;#39;t the best way to communicate a worked example—probably the best way would be pairing with Steve or Nat :-)&lt;br /&gt;&lt;br /&gt;But given that might not happen, I&amp;#39;m having trouble thinking of a better way than what they do in the book. Maybe something like the pairwith.us screencasts?&lt;br /&gt;&lt;br /&gt;In general, I have difficulty with long code examples in books. I think you&amp;#39;re right that it&amp;#39;s easy to forget the context. But I also assume given that many books use this format—books that other people seem to like a lot—some people must get along better with it than I do.&lt;br /&gt;&lt;br /&gt;In GOOS, I&amp;#39;m glad the middle section is there. I felt I got a lot out of it when I went back to it after reading the last section. &lt;br /&gt;&lt;br /&gt;So, my advice is just that if, like me, long code samples don&amp;#39;t float your boat, or you find it difficult to get through the middle, try skipping to the last section and coming back to it. Because I agree that the first and last parts are gold, and I&amp;#39;d hate for people to miss them. Plus, I felt I got a lot more from the middle section after reading the last.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/178743935361582342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/178743935361582342'/><link rel='alternate' type='text/html' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html?showComment=1279458641843#c178743935361582342' title=''/><author><name>programmergrrl</name><uri>http://www.blogger.com/profile/08045944515241515020</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_yLiQDoD41F4/S1xTWXfrlEI/AAAAAAAAADo/wYU36i7yJH8/S220/Rosie.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html' ref='tag:blogger.com,1999:blog-33777038.post-7618825390837860124' source='http://www.blogger.com/feeds/33777038/posts/default/7618825390837860124' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-550946588'/></entry><entry><id>tag:blogger.com,1999:blog-33777038.post-3901630814309007713</id><published>2010-07-11T15:02:21.424+01:00</published><updated>2010-07-11T15:02:21.424+01:00</updated><title type='text'>Nice review. I think that might be good advice to ...</title><content type='html'>Nice review. I think that might be good advice to skip the middle section, at least initially. I should take your approach when Im due to reread this again shortly.&lt;br /&gt;&lt;br /&gt;The first and last parts are absolute gold. But I feel for the authors trying to express a progressive worked example in book form in the middle section. Its too easy to forget the context as you are reading it. Perhaps a book just isnt the right way to communicate this?&lt;br /&gt;&lt;br /&gt;I think this is a &lt;a href="http://www.meretechnology.com/?page_id=305" rel="nofollow"&gt;great book&lt;/a&gt; none the less.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/3901630814309007713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/3901630814309007713'/><link rel='alternate' type='text/html' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html?showComment=1278856941424#c3901630814309007713' title=''/><author><name>Ross Duncan</name><uri>http://www.meretechnology.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html' ref='tag:blogger.com,1999:blog-33777038.post-7618825390837860124' source='http://www.blogger.com/feeds/33777038/posts/default/7618825390837860124' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1630815127'/></entry><entry><id>tag:blogger.com,1999:blog-33777038.post-7098326679589676977</id><published>2010-07-11T11:41:34.792+01:00</published><updated>2010-07-11T11:41:34.792+01:00</updated><title type='text'>Good point about the integration tests. I&amp;#39;m de...</title><content type='html'>Good point about the integration tests. I&amp;#39;m definitely not advocating against end-to-end and acceptance tests, as they are defined in GOOS. Nat&amp;#39;s &amp;quot;horror story&amp;quot; in the book is great example of how important these are.&lt;br /&gt;&lt;br /&gt;And I&amp;#39;m also not advocating against integration tests as defined in GOOS—tests that check our code works against code we can&amp;#39;t change.&lt;br /&gt;&lt;br /&gt;Instead, I think JB&amp;#39;s point is that if you&amp;#39;re doing a good job with your unit tests, then you should think about whether you really need integration tests, where in his definition, integration tests test that your unit-tested code works against your other unit-tested code—not in an end-to-end or acceptance fashion, but in an object-by-object fashion.&lt;br /&gt;&lt;br /&gt;For example, one &amp;quot;trap&amp;quot; I used to fall into when working with mock objects was that once I had written two unit-tested objects, I felt that I also needed to write an &amp;quot;integration&amp;quot; test to check that they actually did work together in the way the interfaces and mocks defined. But then, there was always a strong temptation not to write the unit tests at all, and instead only write the integration tests. Why test the code at the unit level, if I had to test it again at the integration level anyway? Yes, the unit tests would give me design benefits, but the temptation to &amp;quot;go faster,&amp;quot; skipping ahead to what I thought the design should look like, rather than letting it evolve, was often too strong.&lt;br /&gt;&lt;br /&gt;Currently, I think I&amp;#39;m having more luck with with using mocks, making sure to write the appropriate unit tests on each side of a collaboration, but letting the dependency injection framework and end-to-end or acceptance tests take care of making sure the real objects hook up together correctly.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/7098326679589676977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/7098326679589676977'/><link rel='alternate' type='text/html' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html?showComment=1278844894792#c7098326679589676977' title=''/><author><name>programmergrrl</name><uri>http://www.blogger.com/profile/08045944515241515020</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_yLiQDoD41F4/S1xTWXfrlEI/AAAAAAAAADo/wYU36i7yJH8/S220/Rosie.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html' ref='tag:blogger.com,1999:blog-33777038.post-7618825390837860124' source='http://www.blogger.com/feeds/33777038/posts/default/7618825390837860124' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-550946588'/></entry><entry><id>tag:blogger.com,1999:blog-33777038.post-1571850179641335127</id><published>2010-07-10T10:15:32.083+01:00</published><updated>2010-07-10T10:15:32.083+01:00</updated><title type='text'>Thanks for your comments. One point that we make i...</title><content type='html'>Thanks for your comments. One point that we make is that we use higher level tests to drive functionality and make sure that our objects actually work together. If you drop the integration tests, then make sure that you have something to replace it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/1571850179641335127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33777038/7618825390837860124/comments/default/1571850179641335127'/><link rel='alternate' type='text/html' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html?showComment=1278753332083#c1571850179641335127' title=''/><author><name>programmergrrl@m3p.co.uk</name><uri>http://www.m3p.co.uk/blog</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.programmergrrl.com/2010/07/book-review-growing-object-oriented.html' ref='tag:blogger.com,1999:blog-33777038.post-7618825390837860124' source='http://www.blogger.com/feeds/33777038/posts/default/7618825390837860124' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1395609206'/></entry></feed>
