<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Object Mentor Blog: The Three Numbers</title>
    <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>The Three Numbers</title>
      <description>&lt;p&gt;There are only three numbers that are truly meaningful in software design.  The numbers are the same as the numbers in relational database design: zero, one, and many.&lt;/p&gt;


	&lt;p&gt;Zero: if a condition, circumstance, requirement does not exist, then no code should exist (commented or uncommented) to deal with it.  This is true for requirements we haven&amp;#8217;t seen (future proofing), but is also true for requirements which have some and gone.  When a test, function, variable, or class has zero uses, it must be deleted.  Recognizing the power of zero helps us keep our code clean.&lt;/p&gt;


	&lt;p&gt;One: A condition or class, event or circumstance, role or behavior exists, and so we must code for it.  There is a limit on how much insulation and abstraction is needed.  We can keep things very simple.  Moving from zero to one (adding a requirement) is the typical operation, but moving from one to zero also happens.&lt;/p&gt;


	&lt;p&gt;Many: More than one is &amp;#8220;many&amp;#8221;.  You might as well consider adding a list and/or interfaces.  In design, some things repeat and some do not.  Those that repeat are likely to continue repeating.  Therefore, &lt;strong&gt;many&lt;/strong&gt; is represented first by the value of two.   Where there are many, there needs to be some insulation.  The open-closed principle tells us that we should open the system for extension.  The usual case in design is moving from one to many, but sometimes one will move in the opposite direction by removing interfaces or lists.&lt;/p&gt;


	&lt;p&gt;The transitions in either direction are important design events.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 11:27:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:e05f29e8-2d86-4ef0-8be4-292c8096aa5f</guid>
      <author>tottinger</author>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers</link>
      <category>Tim's Tepid Torrent</category>
      <trackback:ping>http://blog.objectmentor.com/articles/trackback/4478</trackback:ping>
    </item>
    <item>
      <title>"The Three Numbers" by ysbearing</title>
      <description>&lt;p&gt;Slewing ring is also called slewing bearing, some people called: rotary support, swing support. English Name: slewing bearing or slewing ring bearing or turn table bearing, slewing ring in the real industrial applications is very wide.&lt;/p&gt;</description>
      <pubDate>Wed, 19 Oct 2011 04:35:15 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:3b7796c5-3026-470c-af6f-d163d7bf83bb</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-159682</link>
    </item>
    <item>
      <title>"The Three Numbers" by cathy</title>
      <description>&lt;p&gt;I really enjoy your articles. Very well written. 
&lt;a href="http://www.bagsupplyer.com/Evisu-n666/" rel="nofollow"&gt;Fashion brand replica Men Evisu Jeans from China at on line store&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 09 Sep 2011 23:38:21 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:135d6b88-58c8-432b-bd35-ac8485030686</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-138987</link>
    </item>
    <item>
      <title>"The Three Numbers" by hi good luck </title>
      <description>&lt;p&gt;All the papa from the &lt;a href="http://www.hijocund.com/" rel="nofollow"&gt;Scooter&lt;/a&gt; teen guy so, who expired subsequently after simply being hit because of a van like the person experienced relating to an individual&amp;#8217;s moped has experienced couple of teardrops tattooed relating to an individual&amp;#8217;s are up against to make sure you recognise an individual&amp;#8217;s despondency.&lt;/p&gt;</description>
      <pubDate>Mon, 29 Aug 2011 04:19:50 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:394ae3ae-a728-4df6-b689-55ab5dc57614</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-133859</link>
    </item>
    <item>
      <title>"The Three Numbers" by hair extensions london</title>
      <description>&lt;p&gt;Your article is really catch my eyes, and help me get much more knowledge, I really hope I could read your posts in future.&lt;/p&gt;</description>
      <pubDate>Sun, 12 Jun 2011 20:27:54 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:7b51c0e7-967f-4fe6-b9b9-9facb186e335</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-110361</link>
    </item>
    <item>
      <title>"The Three Numbers" by Hancy</title>
      <description>&lt;p&gt;Hello Friend,Whichever style of Fashion Shoes you&amp;#8217;re looking for, classical, fashionable, lovely or the latest design, you can find your favorite designer shoes in &lt;a href="http://www.dunkpage.com" rel="nofollow"&gt;www.dunkpage.com&lt;/a&gt; ,several days ago I bought one pair of shoes from there,It&amp;#8217;s beautiful and very comfortable!&lt;/p&gt;</description>
      <pubDate>Wed, 08 Jun 2011 10:54:30 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ec195dac-6691-4955-873e-ba924ae50f3f</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-109080</link>
    </item>
    <item>
      <title>"The Three Numbers" by beats by dr dre headphones</title>
      <description>&lt;p&gt;We have many style &lt;a href="http://www.beatsdrdresolo.com/" rel="nofollow"&gt;beats by dr dre headphones&lt;/a&gt; for you to pick up,what you have to do is choose the one you like most.
By our professional service, you can buy your favorite &lt;a href="http://www.monsterbeatsdr.com/" rel="nofollow"&gt;monster beats dr dre headphones&lt;/a&gt; from us with full confidence.
After I got &lt;a href="http://www.drebeatsstudio.com/beats-by-dr-dre-studio-c-3.html" rel="nofollow"&gt;beats by dr dre studio&lt;/a&gt; several months ago,I am now so pleasant with these shoes.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Jun 2011 09:11:18 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ba6c4a11-0717-472e-ba29-1944df1071ea</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-107194</link>
    </item>
    <item>
      <title>"The Three Numbers" by okey oyunu oyna </title>
      <description>&lt;p&gt;Very interesting. Thanks tottinger..&lt;/p&gt;


	&lt;p&gt;T&#252;m dunyadaki okey oyunculari ile ayni platform i&#231;erisinde sohbet ederek canli &lt;a href="http://www.okeyoyunu-oyna.com" rel="nofollow"&gt;okey oyunu oyna&lt;/a&gt; ve ve internette online oyun oynamanin zevkini &#231;ikar.&lt;/p&gt;</description>
      <pubDate>Mon, 25 Apr 2011 10:16:52 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a557f3bb-fb46-478c-be6b-aa5738032e34</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-90510</link>
    </item>
    <item>
      <title>"The Three Numbers" by Robert Schlee</title>
      <description>&lt;p&gt;I like the framework from the posts. I bet you are able to even do far better. Compose a lengthy write-up and demonstrate us what you are able to do. I&amp;#8217;ve no doubt you?&#161;&#165;ll generate even greater data. I&amp;#8217;ve subscribed to a lot of blogs but this 1 is actually a keeper!&lt;/p&gt;</description>
      <pubDate>Tue, 19 Apr 2011 04:55:03 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:382f1e8d-4d89-497d-b904-2c45d9cf4082</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-87183</link>
    </item>
    <item>
      <title>"The Three Numbers" by Tenant Screening</title>
      <description>&lt;p&gt;&lt;a href="http://blog.objectmentor.com/articles/category/tims-tepid-torrent/page/5" rel="nofollow"&gt;http://blog.objectmentor.com/articles/category/tims-tepid-torrent/page/5&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 22 Feb 2011 11:31:16 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:8052678a-3c9c-44d4-ae5f-7b5e480ab25f</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-65702</link>
    </item>
    <item>
      <title>"The Three Numbers" by Criminal Records</title>
      <description>&lt;p&gt;There is a limit on how much insulation and abstraction is needed. We can keep things very simple. Moving from zero to one (adding a requirement) is the typical operation, but moving from one to zero also happens.&lt;/p&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:16:37 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:e5814753-e2b3-4002-8784-71ae5ac1c1ba</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-65260</link>
    </item>
    <item>
      <title>"The Three Numbers" by cold room</title>
      <description>&lt;p&gt;Classic exposition, I have also mentioned it in my blog article. But it is a pity that almost no friend discussed it with me. I am very happy to see your article.&lt;/p&gt;</description>
      <pubDate>Mon, 24 Jan 2011 01:35:23 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:b64ccf3b-da71-41d7-a3da-c208e3a7049a</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-58884</link>
    </item>
    <item>
      <title>"The Three Numbers" by M2TS File Converter</title>
      <description>&lt;p&gt;it is a good [[js d&lt;/p&gt;</description>
      <pubDate>Wed, 28 Apr 2010 22:59:55 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:4e41b257-8421-471e-b106-4340e52dc47a</guid>
      <link>http://blog.objectmentor.com/articles/2007/03/20/the-three-numbers#comment-10716</link>
    </item>
  </channel>
</rss>

