<?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: Learning from Code Reviews</title> <atom:link href="http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/feed/" rel="self" type="application/rss+xml" /><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/</link> <description>Java, Project Management, Life and anything else.</description> <lastBuildDate>Tue, 22 Nov 2011 08:16:24 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: lisa</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-63</link> <dc:creator>lisa</dc:creator> <pubDate>Fri, 11 Apr 2008 05:58:41 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-63</guid> <description>Hell yeah! This post sounds really good. Reading your blog is useful and interesting. Keep it that way.</description> <content:encoded><![CDATA[<p>Hell yeah! This post sounds really good. Reading your blog is useful and interesting. Keep it that way.</p> ]]></content:encoded> </item> <item><title>By: Customized Design Solutions</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-28</link> <dc:creator>Customized Design Solutions</dc:creator> <pubDate>Tue, 02 Oct 2007 14:11:05 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-28</guid> <description>&lt;strong&gt;Customized Design Solutions&lt;/strong&gt;
I couldn&#039;t understand some parts of this article, but it sounds interesting</description> <content:encoded><![CDATA[<p><strong>Customized Design Solutions</strong></p><p>I couldn&#8217;t understand some parts of this article, but it sounds interesting</p> ]]></content:encoded> </item> <item><title>By: Andries Inzé</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-27</link> <dc:creator>Andries Inzé</dc:creator> <pubDate>Thu, 27 Sep 2007 21:03:19 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-27</guid> <description>I organize the group meeting as a group event. First I pass out the review, with the code snippets I&#039;d like to discuss. Every snippet, I open with the reason why I chose that snippet. Then I discuss alternate implementations, or if it&#039;s trivial I just give the (only) correct answer.
You see, most issues that come from the review aren&#039;t that hard to understand.
The code I&#039;d like to discuss are the ones that show a good solution. Parts of code that deserve a good refactor are my favourite. Ofcourse bugs need to be shown aswell, but mostly this is pretty straightforward.</description> <content:encoded><![CDATA[<p>I organize the group meeting as a group event. First I pass out the review, with the code snippets I&#8217;d like to discuss. Every snippet, I open with the reason why I chose that snippet. Then I discuss alternate implementations, or if it&#8217;s trivial I just give the (only) correct answer.</p><p>You see, most issues that come from the review aren&#8217;t that hard to understand.</p><p>The code I&#8217;d like to discuss are the ones that show a good solution. Parts of code that deserve a good refactor are my favourite. Ofcourse bugs need to be shown aswell, but mostly this is pretty straightforward.</p> ]]></content:encoded> </item> <item><title>By: asilachev</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-26</link> <dc:creator>asilachev</dc:creator> <pubDate>Thu, 27 Sep 2007 15:21:27 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-26</guid> <description>Andries, thanks for great post!
I&#039;d like to ask you: to your experience how do you organize code review meetings and how do you choose code for review?
Alexander</description> <content:encoded><![CDATA[<p>Andries, thanks for great post!</p><p>I&#8217;d like to ask you: to your experience how do you organize code review meetings and how do you choose code for review?</p><p>Alexander</p> ]]></content:encoded> </item> <item><title>By: Top Posts &#171; WordPress.com</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-25</link> <dc:creator>Top Posts &#171; WordPress.com</dc:creator> <pubDate>Fri, 07 Sep 2007 00:40:46 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-25</guid> <description>[...]  Learning from Code Reviews The last couple of weeks I have been actively involved in writing a code review for the project I&#8217;m currently [&#8230;] [...]</description> <content:encoded><![CDATA[<p>[...]  Learning from Code Reviews The last couple of weeks I have been actively involved in writing a code review for the project I&#8217;m currently [&#8230;] [...]</p> ]]></content:encoded> </item> <item><title>By: Andries Inzé</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-24</link> <dc:creator>Andries Inzé</dc:creator> <pubDate>Thu, 06 Sep 2007 18:27:53 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-24</guid> <description>@ raveman
Big problems we&#039;ve found were a multi-threading issue (Spring PropertyEditor used as a singleton), clear copy pastes, hard-coded id&#039;s refering to database records and some wrong bind-validation-save order (actually validation during binding). I actually believe it&#039;s very hard for a code reviewer to actually spot bugs.
Therefor I focussed my efforts more into getting cleaner code. Using refactoring and strict code style (not absurd strict, but strict to applying simple guides), I wanted to created clearer code that would require less work when maintaining.
I&#039;ve actually find plenty of great examples for good refactoring. I especially love what I&#039;ve learned from reading halve of Refactoring by Martin Fowler (http://martinfowler.com/books.html). Invaluable book if you ask me.
@Derik Whittaker
Great posts! Too bad I didn&#039;t find them 2 weeks ago. Probably wouldn&#039;t have writting this post :D
@intelligencenetworks
It&#039;s true that developers are blind sometimes to bug they wrote. Keeping the checklist is not to help solve a bug. It&#039;s to find bugs you&#039;ve missed, to keep the code clear so other people will spot bugs very easily and to make it easiery to actually fix a bug in the future.
Keeping the code style about the same, decreases the treshold for other developers to read your code.</description> <content:encoded><![CDATA[<p>@ raveman</p><p>Big problems we&#8217;ve found were a multi-threading issue (Spring PropertyEditor used as a singleton), clear copy pastes, hard-coded id&#8217;s refering to database records and some wrong bind-validation-save order (actually validation during binding). I actually believe it&#8217;s very hard for a code reviewer to actually spot bugs.</p><p>Therefor I focussed my efforts more into getting cleaner code. Using refactoring and strict code style (not absurd strict, but strict to applying simple guides), I wanted to created clearer code that would require less work when maintaining.</p><p>I&#8217;ve actually find plenty of great examples for good refactoring. I especially love what I&#8217;ve learned from reading halve of Refactoring by Martin Fowler (<a
href="http://martinfowler.com/books.html" rel="nofollow">http://martinfowler.com/books.html</a>). Invaluable book if you ask me.</p><p>@Derik Whittaker<br
/> Great posts! Too bad I didn&#8217;t find them 2 weeks ago. Probably wouldn&#8217;t have writting this post <img
src='http://www.inze.be/andries/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p><p>@intelligencenetworks<br
/> It&#8217;s true that developers are blind sometimes to bug they wrote. Keeping the checklist is not to help solve a bug. It&#8217;s to find bugs you&#8217;ve missed, to keep the code clear so other people will spot bugs very easily and to make it easiery to actually fix a bug in the future.</p><p>Keeping the code style about the same, decreases the treshold for other developers to read your code.</p> ]]></content:encoded> </item> <item><title>By: intelligencenetworks</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-23</link> <dc:creator>intelligencenetworks</dc:creator> <pubDate>Thu, 06 Sep 2007 18:05:31 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-23</guid> <description>Hi there,
I agree with you, that reviewing your own code is a good thing. It&#039;s possible that you eliminate bugs and reduce useless algorithms.
But sometimes (I know) you&#039;re blind to your own mistakes, so you keep searching hours for the one bug and don&#039;t find it, while somebody else would find it within five minutes.</description> <content:encoded><![CDATA[<p>Hi there,<br
/> I agree with you, that reviewing your own code is a good thing. It&#8217;s possible that you eliminate bugs and reduce useless algorithms.</p><p>But sometimes (I know) you&#8217;re blind to your own mistakes, so you keep searching hours for the one bug and don&#8217;t find it, while somebody else would find it within five minutes.</p> ]]></content:encoded> </item> <item><title>By: Derik Whittaker</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-22</link> <dc:creator>Derik Whittaker</dc:creator> <pubDate>Thu, 06 Sep 2007 12:19:10 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-22</guid> <description>Great post.
I recently posted about this subject as well.  You can find those posts here
http://devlicio.us/blogs/derik_whittaker/archive/2007/06/12/code-reviews-rules-of-the-game.aspx
http://devlicio.us/blogs/derik_whittaker/archive/2007/06/11/code-reviews-how-to-be-successful.aspx</description> <content:encoded><![CDATA[<p>Great post.</p><p>I recently posted about this subject as well.  You can find those posts here<br
/> <a
href="http://devlicio.us/blogs/derik_whittaker/archive/2007/06/12/code-reviews-rules-of-the-game.aspx" rel="nofollow">http://devlicio.us/blogs/derik_whittaker/archive/2007/06/12/code-reviews-rules-of-the-game.aspx</a><br
/> <a
href="http://devlicio.us/blogs/derik_whittaker/archive/2007/06/11/code-reviews-how-to-be-successful.aspx" rel="nofollow">http://devlicio.us/blogs/derik_whittaker/archive/2007/06/11/code-reviews-how-to-be-successful.aspx</a></p> ]]></content:encoded> </item> <item><title>By: raveman</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-21</link> <dc:creator>raveman</dc:creator> <pubDate>Thu, 06 Sep 2007 12:17:13 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-21</guid> <description>could you tell us about some not trivial errors in code you did find ?
from what ive seen some errors are just a matter of style, for example should we use multi-ifs for string or should we first convert strings to int/enum and use switch? i remember reading the post when some guy believed that using while with iterator is a bug(i use for, but i have no problem with while).</description> <content:encoded><![CDATA[<p>could you tell us about some not trivial errors in code you did find ?</p><p>from what ive seen some errors are just a matter of style, for example should we use multi-ifs for string or should we first convert strings to int/enum and use switch? i remember reading the post when some guy believed that using while with iterator is a bug(i use for, but i have no problem with while).</p> ]]></content:encoded> </item> <item><title>By: prashant</title><link>http://www.inze.be/andries/2007/09/04/learning-from-code-reviews/comment-page-1/#comment-20</link> <dc:creator>prashant</dc:creator> <pubDate>Thu, 06 Sep 2007 11:44:38 +0000</pubDate> <guid
isPermaLink="false">http://www.inze.be/andries/?p=15#comment-20</guid> <description>Hi Andries,
Good post and i agree with you.
Thanks
Prashant</description> <content:encoded><![CDATA[<p>Hi Andries,</p><p>Good post and i agree with you.</p><p>Thanks<br
/> Prashant</p> ]]></content:encoded> </item> </channel> </rss>
