<?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: Anti-Patterns and Worst Practices – You’re Doing it Wrong!</title>
	<atom:link href="http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/</link>
	<description>Thoughts while working and playing as a Software Developer</description>
	<lastBuildDate>Mon, 10 Jun 2013 15:59:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Anti-Patterns and Worst Practices – Utils Class &#124; Chris Missal&#039;s Blog</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-388</link>
		<dc:creator>Anti-Patterns and Worst Practices – Utils Class &#124; Chris Missal&#039;s Blog</dc:creator>
		<pubDate>Tue, 12 Jun 2012 13:50:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-388</guid>
		<description>[...] [See more Anti-Patterns and Worst Practices] [...]</description>
		<content:encoded><![CDATA[<p>[...] [See more Anti-Patterns and Worst Practices] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Missal</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-84</link>
		<dc:creator>Chris Missal</dc:creator>
		<pubDate>Tue, 02 Jun 2009 22:14:06 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-84</guid>
		<description>@Daniel
I agree with point 1, extension methods can greatly reduce the number of utility methods you need. I try to resort to these last though. They&#039;re cool, but something about them still feels weird to me.</description>
		<content:encoded><![CDATA[<p>@Daniel<br />
I agree with point 1, extension methods can greatly reduce the number of utility methods you need. I try to resort to these last though. They&#8217;re cool, but something about them still feels weird to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Fisher</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-83</link>
		<dc:creator>Daniel Fisher</dc:creator>
		<pubDate>Tue, 02 Jun 2009 06:41:30 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-83</guid>
		<description>1) Since extension methods are in place there mustn&#039;t be Util-Classes!

2) When you talk about what is already there - take what is in the platform: System.Diagnostics

Daniel</description>
		<content:encoded><![CDATA[<p>1) Since extension methods are in place there mustn&#8217;t be Util-Classes!</p>
<p>2) When you talk about what is already there &#8211; take what is in the platform: System.Diagnostics</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inampaki</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-82</link>
		<dc:creator>inampaki</dc:creator>
		<pubDate>Thu, 28 May 2009 06:06:11 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-82</guid>
		<description>This is Really Cool n Helpfull for me</description>
		<content:encoded><![CDATA[<p>This is Really Cool n Helpfull for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodrigo Asensio</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-81</link>
		<dc:creator>Rodrigo Asensio</dc:creator>
		<pubDate>Wed, 27 May 2009 19:27:04 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-81</guid>
		<description>I had made an entire set of utilities classes starting from a toolkit.
Toolkit.network().ping(host);
Tookit.strings().padLeft(blabla);
Toolkit.validation().isValidEmail(email)
Toolkit.java().newInstance(packageName, className)

and that is the way my utilities works. they are well documented and ordered (they are like 22 classes providing common funcionality)</description>
		<content:encoded><![CDATA[<p>I had made an entire set of utilities classes starting from a toolkit.<br />
Toolkit.network().ping(host);<br />
Tookit.strings().padLeft(blabla);<br />
Toolkit.validation().isValidEmail(email)<br />
Toolkit.java().newInstance(packageName, className)</p>
<p>and that is the way my utilities works. they are well documented and ordered (they are like 22 classes providing common funcionality)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Missal</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-80</link>
		<dc:creator>Chris Missal</dc:creator>
		<pubDate>Wed, 27 May 2009 18:40:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-80</guid>
		<description>@Ben

Like I said, I wish I had designated Utils as Part 1, but there&#039;s a post coming. :) It (hopefully) explains it better than my short single paragraph summary above.</description>
		<content:encoded><![CDATA[<p>@Ben</p>
<p>Like I said, I wish I had designated Utils as Part 1, but there&#8217;s a post coming. :) It (hopefully) explains it better than my short single paragraph summary above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-79</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Wed, 27 May 2009 18:32:56 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-79</guid>
		<description>@Chris,

Maybe it would be better to use a concrete example when it comes to Utils. Let&#039;s say we have a language that doesn&#039;t have a &quot;trim&quot; method for strings (ex. Javascript). In that case, someone might wrap trim() up into a Utils object or global function (which is just part of the Window object). How would something like this be better organized?</description>
		<content:encoded><![CDATA[<p>@Chris,</p>
<p>Maybe it would be better to use a concrete example when it comes to Utils. Let&#8217;s say we have a language that doesn&#8217;t have a &#8220;trim&#8221; method for strings (ex. Javascript). In that case, someone might wrap trim() up into a Utils object or global function (which is just part of the Window object). How would something like this be better organized?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Missal</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-78</link>
		<dc:creator>Chris Missal</dc:creator>
		<pubDate>Wed, 27 May 2009 17:14:00 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-78</guid>
		<description>@sboulay

All I can tell about your StringUtils is that it does something with strings. It&#039;s not much better than a class that is called Utils, which I have no idea what it would do.</description>
		<content:encoded><![CDATA[<p>@sboulay</p>
<p>All I can tell about your StringUtils is that it does something with strings. It&#8217;s not much better than a class that is called Utils, which I have no idea what it would do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Missal</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-77</link>
		<dc:creator>Chris Missal</dc:creator>
		<pubDate>Wed, 27 May 2009 17:08:58 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-77</guid>
		<description>I wish I had chosen the Utils class to be part 1. This seems to be the most interesting to people. You can have a utils-like class. Frank brought up the ReflectionHelper class in Structuremap. That&#039;s a good example of &quot;doing it right&quot; I suppose; all the functionality is related to reflection. The post isn&#039;t going to necessarily be all about this type of behavior being bad, but the abuse that comes from it.

Like Cartel1 points out, the Utils Class anti-pattern is usually a result of taking the path of least resistance and being lazy, that&#039;s how it is abused.</description>
		<content:encoded><![CDATA[<p>I wish I had chosen the Utils class to be part 1. This seems to be the most interesting to people. You can have a utils-like class. Frank brought up the ReflectionHelper class in Structuremap. That&#8217;s a good example of &#8220;doing it right&#8221; I suppose; all the functionality is related to reflection. The post isn&#8217;t going to necessarily be all about this type of behavior being bad, but the abuse that comes from it.</p>
<p>Like Cartel1 points out, the Utils Class anti-pattern is usually a result of taking the path of least resistance and being lazy, that&#8217;s how it is abused.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sboulay</title>
		<link>http://lostechies.com/chrismissal/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong/#comment-76</link>
		<dc:creator>sboulay</dc:creator>
		<pubDate>Wed, 27 May 2009 17:04:21 +0000</pubDate>
		<guid isPermaLink="false">/blogs/chrismissal/archive/2009/05/26/anti-patterns-and-worst-practices-you-re-doing-it-wrong.aspx#comment-76</guid>
		<description>&quot;In the software world, you’re probably going to come across a class with this name at some point. What does it do? Nobody knows, that’s why it exists. When you see a Utils (or Utility) class, its existence is probably due to laziness or lack of domain knowledge.&quot;

Are you talking about a class literally named &quot;Utils&quot;. What about StringUtils, DateUtils, RequestUtils etc? I would hardly consider those &quot; laziness or lack of domain knowledge&quot;.

</description>
		<content:encoded><![CDATA[<p>&#8220;In the software world, you’re probably going to come across a class with this name at some point. What does it do? Nobody knows, that’s why it exists. When you see a Utils (or Utility) class, its existence is probably due to laziness or lack of domain knowledge.&#8221;</p>
<p>Are you talking about a class literally named &#8220;Utils&#8221;. What about StringUtils, DateUtils, RequestUtils etc? I would hardly consider those &#8221; laziness or lack of domain knowledge&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
