<?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: Is Your Code Worthy Of Being Improved</title> <atom:link href="http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/feed/" rel="self" type="application/rss+xml" /><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/</link> <description>For the betterment of the software craft...</description> <lastBuildDate>Mon, 21 Nov 2011 13:57:06 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.2</generator> <item><title>By: Alan Skorkin</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2062</link> <dc:creator>Alan Skorkin</dc:creator> <pubDate>Sat, 15 Aug 2009 01:53:07 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2062</guid> <description>I&#039;ll have a look at autowiring for demarcating transactions, always happy to give my &#039;prejudices&#039; a once over :).
And you&#039;re right judicious use is the order of the day, don&#039;t walk blindly into using any non-trivial library, know why you need it and how to apply it.
Funny you should mention new people, I started drafting up some of my thoughts regarding that last night :). You&#039;re right though, new people will tend to always question everything, but you expect that to settle down to manageable levels eventually, if it doesn&#039;t something is wrong either with the people or with the team/environment (it is a distinct possibility).</description> <content:encoded><![CDATA[<p>I&#8217;ll have a look at autowiring for demarcating transactions, always happy to give my &#8216;prejudices&#8217; a once over :).</p><p>And you&#8217;re right judicious use is the order of the day, don&#8217;t walk blindly into using any non-trivial library, know why you need it and how to apply it.</p><p>Funny you should mention new people, I started drafting up some of my thoughts regarding that last night :). You&#8217;re right though, new people will tend to always question everything, but you expect that to settle down to manageable levels eventually, if it doesn&#8217;t something is wrong either with the people or with the team/environment (it is a distinct possibility).</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2061</link> <dc:creator>Mark</dc:creator> <pubDate>Sat, 15 Aug 2009 01:44:45 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2061</guid> <description>Try using Transaction Demarcation without Autowiring.   I hardly use autowiring, but I do in this instance.  It removes tons of config info.   I currently only use it for Services  (injecting the repositories) and Repositories (injecting the persistance manager).  It is pretty obvious what is going on because I am using Annotations.
As for AOP - yes use it wisely.  Same for IoC.  These are powerful concepts.  ORM is about the same. The problem is that in not using them the result is code bloat and thus reduces maintainability.
Other than that, I totally agree. I think you&#039;d be fine with the Autowiring the things i mentioned.
Funny how I spent the last few days making up a list of things we need to cover in walkthroughs (no, we don&#039;t have them NOR pair programming) for my new team.  It matches a bunch of what you said.
As for new people - they don&#039;t like anything. And if they always remain new people ... time for new people. LOL.</description> <content:encoded><![CDATA[<p>Try using Transaction Demarcation without Autowiring.   I hardly use autowiring, but I do in this instance.  It removes tons of config info.   I currently only use it for Services  (injecting the repositories) and Repositories (injecting the persistance manager).  It is pretty obvious what is going on because I am using Annotations.</p><p>As for AOP &#8211; yes use it wisely.  Same for IoC.  These are powerful concepts.  ORM is about the same. The problem is that in not using them the result is code bloat and thus reduces maintainability.</p><p>Other than that, I totally agree. I think you&#8217;d be fine with the Autowiring the things i mentioned.</p><p>Funny how I spent the last few days making up a list of things we need to cover in walkthroughs (no, we don&#8217;t have them NOR pair programming) for my new team.  It matches a bunch of what you said.</p><p>As for new people &#8211; they don&#8217;t like anything. And if they always remain new people &#8230; time for new people. LOL.</p> ]]></content:encoded> </item> <item><title>By: Alan Skorkin</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2060</link> <dc:creator>Alan Skorkin</dc:creator> <pubDate>Sat, 15 Aug 2009 01:19:09 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2060</guid> <description>I don&#039;t have anything against dependency injection in general, it is only the autowiring aspect that I have a problem with. When you&#039;re trying to figure out what a piece of code is doing, if everything is autowired, you have to carefully trace what what is actually occurring, if everything is explicit your configuration becomes a great help rather than a useless file.</description> <content:encoded><![CDATA[<p>I don&#8217;t have anything against dependency injection in general, it is only the autowiring aspect that I have a problem with. When you&#8217;re trying to figure out what a piece of code is doing, if everything is autowired, you have to carefully trace what what is actually occurring, if everything is explicit your configuration becomes a great help rather than a useless file.</p> ]]></content:encoded> </item> <item><title>By: Greg</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2059</link> <dc:creator>Greg</dc:creator> <pubDate>Sat, 15 Aug 2009 01:06:33 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2059</guid> <description>Other than your ill thoughtout rant against spring and aspectj I completely agree with you about code &quot;style&quot;. When ever you have an object that needs to access an application scope resource then it is bad for that object to know too much about how to get that object, or even to have some knowledge of how it is created. Most people use singletons or factory classes for these cases. Using spring, aspectj, and Autowiring are perfect for these situations. The Object just knows it needs an X and when it gets created it has an X. The creation and configuration of X is done completely independently from any of the objects that depend on it, and this makes your code much easier to read, write, and debug. And if you use Interfaces properly and have a well designed API then you can swap out implementations of X seamlessly. Thats just one situation, that from what I have seen happens quite often.</description> <content:encoded><![CDATA[<p>Other than your ill thoughtout rant against spring and aspectj I completely agree with you about code &#8220;style&#8221;. When ever you have an object that needs to access an application scope resource then it is bad for that object to know too much about how to get that object, or even to have some knowledge of how it is created. Most people use singletons or factory classes for these cases. Using spring, aspectj, and Autowiring are perfect for these situations. The Object just knows it needs an X and when it gets created it has an X. The creation and configuration of X is done completely independently from any of the objects that depend on it, and this makes your code much easier to read, write, and debug. And if you use Interfaces properly and have a well designed API then you can swap out implementations of X seamlessly. Thats just one situation, that from what I have seen happens quite often.</p> ]]></content:encoded> </item> <item><title>By: Daily Links for Thursday, August 13th, 2009</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2029</link> <dc:creator>Daily Links for Thursday, August 13th, 2009</dc:creator> <pubDate>Thu, 13 Aug 2009 11:32:35 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2029</guid> <description>[...] Is Your Code Worthy Of Being Improved [...]</description> <content:encoded><![CDATA[<p>[...] Is Your Code Worthy Of Being Improved [...]</p> ]]></content:encoded> </item> <item><title>By: Alan Skorkin</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2025</link> <dc:creator>Alan Skorkin</dc:creator> <pubDate>Thu, 13 Aug 2009 10:45:01 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2025</guid> <description>Excellent advice, and whenever you do encounter nice code, always remember to take something away from it, don&#039;t just admire and go back to doing things the way you always have.</description> <content:encoded><![CDATA[<p>Excellent advice, and whenever you do encounter nice code, always remember to take something away from it, don&#8217;t just admire and go back to doing things the way you always have.</p> ]]></content:encoded> </item> <item><title>By: Travis Dunn</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2023</link> <dc:creator>Travis Dunn</dc:creator> <pubDate>Thu, 13 Aug 2009 10:35:47 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2023</guid> <description>&gt; The way to get others to leave your code in a better state than they found it, is to make it worthy of improvement in the first place!
i.e. lead by example, and allow yourself to be shamed (I mean &quot;inspired&quot;) into improvement whenever you encounter elegantly structured code.</description> <content:encoded><![CDATA[<p>&gt; The way to get others to leave your code in a better state than they found it, is to make it worthy of improvement in the first place!</p><p>i.e. lead by example, and allow yourself to be shamed (I mean &#8220;inspired&#8221;) into improvement whenever you encounter elegantly structured code.</p> ]]></content:encoded> </item> <item><title>By: Dew Drop &#8211; August 12, 2009 &#124; Alvin Ashcraft's Morning Dew</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2011</link> <dc:creator>Dew Drop &#8211; August 12, 2009 &#124; Alvin Ashcraft's Morning Dew</dc:creator> <pubDate>Wed, 12 Aug 2009 12:43:23 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2011</guid> <description>[...] Is Your Code Worthy Of Being Improved (Alan Skorkin) [...]</description> <content:encoded><![CDATA[<p>[...] Is Your Code Worthy Of Being Improved (Alan Skorkin) [...]</p> ]]></content:encoded> </item> <item><title>By: Alan Skorkin</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2008</link> <dc:creator>Alan Skorkin</dc:creator> <pubDate>Wed, 12 Aug 2009 12:27:02 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2008</guid> <description>I&#039;ve got my copy :).</description> <content:encoded><![CDATA[<p>I&#8217;ve got my copy :).</p> ]]></content:encoded> </item> <item><title>By: andhapp</title><link>http://www.skorks.com/2009/08/is-your-code-wthy-of-being-improvedor/comment-page-1/#comment-2007</link> <dc:creator>andhapp</dc:creator> <pubDate>Wed, 12 Aug 2009 10:48:58 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=1008#comment-2007</guid> <description>I would recommend reading Clean Code by Uncle Bob.</description> <content:encoded><![CDATA[<p>I would recommend reading Clean Code by Uncle Bob.</p> ]]></content:encoded> </item> </channel> </rss>
