<?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: Why Regions are Fugly</title>
	<atom:link href="http://laribee.com/why-regions-are-fugly/feed" rel="self" type="application/rss+xml" />
	<link>http://laribee.com/why-regions-are-fugly</link>
	<description>There are eight million stories in Cloud City; this is just one.</description>
	<lastBuildDate>Tue, 09 Mar 2010 19:48:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Commonality</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-408</link>
		<dc:creator>Commonality</dc:creator>
		<pubDate>Mon, 30 Jul 2007 13:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-408</guid>
		<description>&lt;strong&gt;Regions and Readability...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>Regions and Readability&#8230;</strong></p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-407</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 27 Jul 2007 07:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-407</guid>
		<description>@Mat - How is that contradictory? I prefer things in plain view. As far as the super IDE goes... I want one!

@LosManos - For these GUI classes I like MVP. In the view I too like the &quot;WireHandlers&quot; (or similar) method. I use anonymous delegates where possible that generally call right back into the Presenter. Easy to read.</description>
		<content:encoded><![CDATA[<p>@Mat &#8211; How is that contradictory? I prefer things in plain view. As far as the super IDE goes&#8230; I want one!</p>
<p>@LosManos &#8211; For these GUI classes I like MVP. In the view I too like the &#8220;WireHandlers&#8221; (or similar) method. I use anonymous delegates where possible that generally call right back into the Presenter. Easy to read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mat Hobbs</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-406</link>
		<dc:creator>Mat Hobbs</dc:creator>
		<pubDate>Fri, 27 Jul 2007 04:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-406</guid>
		<description>Until we get some super IDE that auto-magically and reversibly organizes code in some wonderous display (markup for code?), we will have to live with manual orderings and arrangements of code.

I don&#039;t get you how rip regions but say: &quot;Just stack them in order and you won’t need regions. Put things in plain view!&quot; sounds like you&#039;re contradicting yourself!

Most classes are small, but some are big, that&#039;s life.  Sometimes a module is... a module.</description>
		<content:encoded><![CDATA[<p>Until we get some super IDE that auto-magically and reversibly organizes code in some wonderous display (markup for code?), we will have to live with manual orderings and arrangements of code.</p>
<p>I don&#8217;t get you how rip regions but say: &#8220;Just stack them in order and you won’t need regions. Put things in plain view!&#8221; sounds like you&#8217;re contradicting yourself!</p>
<p>Most classes are small, but some are big, that&#8217;s life.  Sometimes a module is&#8230; a module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LosManos</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-405</link>
		<dc:creator>LosManos</dc:creator>
		<pubDate>Thu, 26 Jul 2007 18:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-405</guid>
		<description>hejdig.

Especially working close to the user interface classes tend to get big.  At least one method per user action, and user actions are plenty in a GUI.

During my years pretending to work I haved found out that a &quot;form class&quot; contains several parts where one is the event sink where all events from the surrounding world is caught.  This region I call &quot;Event handlers&quot; or &quot;Event sinks&quot;.
( Yes, I have names for the others to but that is out of scope. )

I have two solutions (besides inventing some fancy class relation-inheritance-interface-composition-pattern structure)
1) divide the class into files with &quot;partial class&quot;
2) use regions

Both ways work good.

/OF</description>
		<content:encoded><![CDATA[<p>hejdig.</p>
<p>Especially working close to the user interface classes tend to get big.  At least one method per user action, and user actions are plenty in a GUI.</p>
<p>During my years pretending to work I haved found out that a &#8220;form class&#8221; contains several parts where one is the event sink where all events from the surrounding world is caught.  This region I call &#8220;Event handlers&#8221; or &#8220;Event sinks&#8221;.<br />
( Yes, I have names for the others to but that is out of scope. )</p>
<p>I have two solutions (besides inventing some fancy class relation-inheritance-interface-composition-pattern structure)<br />
1) divide the class into files with &#8220;partial class&#8221;<br />
2) use regions</p>
<p>Both ways work good.</p>
<p>/OF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ollie</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-404</link>
		<dc:creator>Ollie</dc:creator>
		<pubDate>Tue, 24 Jul 2007 11:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-404</guid>
		<description>Not a problem if all classes only have single 25 lined  method with no class parameters or constructors :)

this OO thing is overrated as well :)</description>
		<content:encoded><![CDATA[<p>Not a problem if all classes only have single 25 lined  method with no class parameters or constructors <img src='http://laribee.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>this OO thing is overrated as well <img src='http://laribee.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-403</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Mon, 23 Jul 2007 16:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-403</guid>
		<description>I agree fully. I have set VS to basically ignore regions so they don&#039;t bother me.

I find that the motivations behind heavy usage of regions can generally be satisfied with other tools such as Resharper. If you consistently use something like Resharper 3&#039;s Format Code to keep all of your classes consistently formatted that, in combination with smart Go to Declaration and Incremental Search should be all you need.

Regions strike me as a hold-over VBism, which is probably why they are so popular.</description>
		<content:encoded><![CDATA[<p>I agree fully. I have set VS to basically ignore regions so they don&#8217;t bother me.</p>
<p>I find that the motivations behind heavy usage of regions can generally be satisfied with other tools such as Resharper. If you consistently use something like Resharper 3&#8217;s Format Code to keep all of your classes consistently formatted that, in combination with smart Go to Declaration and Incremental Search should be all you need.</p>
<p>Regions strike me as a hold-over VBism, which is probably why they are so popular.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-402</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 23 Jul 2007 15:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-402</guid>
		<description>@Derik - So click, click, click to find intent? I can&#039;t stand that. Nor do I lookup things by access modifier. CTRL+I to the method name. All this said I do sort the members by type then access modifier.

All specifics aside when I&#039;m finding code 9/10 times it&#039;s to try to grok what someone else wrote. If there&#039;s a BDD-style test this is the best way, by far, for me to see the pieces. If not, well why not?! Okay, accepting there isn&#039;t a nice, expressive test my heuristic then takes me to looking at class names or a pointer from the author (if available). At that point, 95% of classes should be so small as to not need regions.</description>
		<content:encoded><![CDATA[<p>@Derik &#8211; So click, click, click to find intent? I can&#8217;t stand that. Nor do I lookup things by access modifier. CTRL+I to the method name. All this said I do sort the members by type then access modifier.</p>
<p>All specifics aside when I&#8217;m finding code 9/10 times it&#8217;s to try to grok what someone else wrote. If there&#8217;s a BDD-style test this is the best way, by far, for me to see the pieces. If not, well why not?! Okay, accepting there isn&#8217;t a nice, expressive test my heuristic then takes me to looking at class names or a pointer from the author (if available). At that point, 95% of classes should be so small as to not need regions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derik Whittaker</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-401</link>
		<dc:creator>Derik Whittaker</dc:creator>
		<pubDate>Mon, 23 Jul 2007 15:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-401</guid>
		<description>Dave,

I would have to disagree with you 100% on this one.  Epically #4.

I believe that regions are great, they allow me to be more productive and find code much easier, faster.

If i know a method is private, why filter through all the public ones to find it.  Simply expand the private region and i have what i want.

Derik</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>I would have to disagree with you 100% on this one.  Epically #4.</p>
<p>I believe that regions are great, they allow me to be more productive and find code much easier, faster.</p>
<p>If i know a method is private, why filter through all the public ones to find it.  Simply expand the private region and i have what i want.</p>
<p>Derik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-400</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 23 Jul 2007 02:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-400</guid>
		<description>I knew I&#039;d get some controversy outta this one :)

Definitely gotta get together soon. It&#039;s been an unusually busy summer.</description>
		<content:encoded><![CDATA[<p>I knew I&#8217;d get some controversy outta this one <img src='http://laribee.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Definitely gotta get together soon. It&#8217;s been an unusually busy summer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Marsh</title>
		<link>http://laribee.com/why-regions-are-fugly/comment-page-1#comment-399</link>
		<dc:creator>Drew Marsh</dc:creator>
		<pubDate>Mon, 23 Jul 2007 02:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/07/22/why-regions-are-fugly/#comment-399</guid>
		<description>Color me anal rententive. :\ While I agree whole heartedly with most of these, I enforce #1 &amp; #4 here because it&#039;s been my experience that without some kind of format like that the devs won&#039;t remember to keep the stuff together. I do regions for:

Fields, Constructors, Type specific (meaning to the class/interface) methods, Type specific properties, Interface implementations, Helper methods, Nested Types.

Later,
Drew

P.S. We gotta grab some Lombardi&#039;s again soon! ;)</description>
		<content:encoded><![CDATA[<p>Color me anal rententive. :\ While I agree whole heartedly with most of these, I enforce #1 &amp; #4 here because it&#8217;s been my experience that without some kind of format like that the devs won&#8217;t remember to keep the stuff together. I do regions for:</p>
<p>Fields, Constructors, Type specific (meaning to the class/interface) methods, Type specific properties, Interface implementations, Helper methods, Nested Types.</p>
<p>Later,<br />
Drew</p>
<p>P.S. We gotta grab some Lombardi&#8217;s again soon! <img src='http://laribee.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
