<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Design Guidelines</title>
        <link>http://blogs.ugidotnet.org/rucka/category/Design Guidelines.aspx</link>
        <description>Design Guidelines</description>
        <language>it-IT</language>
        <copyright>Gianluca Carucci</copyright>
        <generator>Subtext Version 2.6.0.0</generator>
        <item>
            <title>Assert multipli all'interno di un singolo unit test</title>
            <link>http://blogs.ugidotnet.org/rucka/archive/2006/10/04/49921.aspx</link>
            <description>Roy Osherove fornisce in questo post, alcuni validi motivi del perchè secondo lui non dovrebbe essere possibile permettere di fallire più assert nell'esecuzione di un singolo unit test. Il post è in contrapposizione con un'altro post di James Avery dove viene spiegato invece, il perchè questa feature potrebbe essere utile.
 Un piccolo assaggio che quoto in pieno:
"Even if we assume that all the asserts are run, you're essentially running multiple tests on code that has "dirty" state. For example, asserting on the result of a method call may actually change the state of the object under test so that the next call to that method may actually be skewed because of the previous asserts. that's a bad world to be in. having single assert per test means you also know exactly the state of your object before the assert."Technorati tags: UnitTest, TDD, Agile, Assert, assert&lt;img src="http://blogs.ugidotnet.org/rucka/aggbug/49921.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Gianluca Carucci</dc:creator>
            <guid>http://blogs.ugidotnet.org/rucka/archive/2006/10/04/49921.aspx</guid>
            <pubDate>Wed, 04 Oct 2006 10:48:00 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/rucka/archive/2006/10/04/49921.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/rucka/comments/commentRss/49921.aspx</wfw:commentRss>
        </item>
        <item>
            <title>NotSupportedException e NotImplementedException</title>
            <link>http://blogs.ugidotnet.org/rucka/archive/2004/07/30/409.aspx</link>
            <description>Che differenza c'&amp;#232; tra queste due eccezioni? Chi meglio di Brad Abrams pu&amp;#242; spiegarcelo!&lt;img src="http://blogs.ugidotnet.org/rucka/aggbug/409.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Gianluca Carucci</dc:creator>
            <guid>http://blogs.ugidotnet.org/rucka/archive/2004/07/30/409.aspx</guid>
            <pubDate>Fri, 30 Jul 2004 10:26:00 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/rucka/archive/2004/07/30/409.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/rucka/comments/commentRss/409.aspx</wfw:commentRss>
        </item>
        <item>
            <title>IPEndPoint.Create(SocketAddress), perchè è un Instance Method????</title>
            <link>http://blogs.ugidotnet.org/rucka/archive/2004/07/27/406.aspx</link>
            <description>Evidentemente non sono l'unico a essermi fatto questa domanda....
 Dando un'occhiata al codice di Mono, nell'implementazione della propriet&amp;#224; LocalEndPoint e RemoteEndPoint si pu&amp;#242; notare il seguente codice (e i commenti) :
"...
if(sa.Family==AddressFamily.InterNetwork || sa.Family==AddressFamily.InterNetworkV6 ) {
// Stupidly, EndPoint.Create() is an
// instance method
return new IPEndPoint(0, 0).Create(sa);
}
..."
Chiss&amp;#224; se chi ha progettato (o implementato) la classe IPEndPoint lavora ancora in Microsoft:P&lt;img src="http://blogs.ugidotnet.org/rucka/aggbug/406.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Gianluca Carucci</dc:creator>
            <guid>http://blogs.ugidotnet.org/rucka/archive/2004/07/27/406.aspx</guid>
            <pubDate>Tue, 27 Jul 2004 16:28:00 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/rucka/archive/2004/07/27/406.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/rucka/comments/commentRss/406.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Qualche linea guida di design di librerie</title>
            <link>http://blogs.ugidotnet.org/rucka/archive/2004/04/21/399.aspx</link>
            <description>Segnalo qualche post del blog di Brad Abrams in cui vengono elencate alcune (OTTIME) regole da tenere presente nella costruzione delle classi. Da stampare e attaccare sopra il monitor:)
On Designing Good Libraries -- Part I
On Designing Good Libraries -- Part II 
On Designing Good Libraries -- Part III
On Designing Good Libraries -- Part IV
E se non vi bastasse.... c'&amp;#232; sempre questa serie di articoli sull'MSDN... 
Buon Refactoring....:)&lt;img src="http://blogs.ugidotnet.org/rucka/aggbug/399.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Gianluca Carucci</dc:creator>
            <guid>http://blogs.ugidotnet.org/rucka/archive/2004/04/21/399.aspx</guid>
            <pubDate>Wed, 21 Apr 2004 12:37:00 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/rucka/archive/2004/04/21/399.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/rucka/comments/commentRss/399.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Il 90% dei problemi di performance sono nel design non nel codice</title>
            <link>http://blogs.ugidotnet.org/rucka/archive/2004/02/12/393.aspx</link>
            <description>Questa &amp;#232; una delle "Ten Rules of Performaces" scritte da Paul Vick nel suo blog. C'&amp;#232; sempre da imparare... :)&lt;img src="http://blogs.ugidotnet.org/rucka/aggbug/393.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Gianluca Carucci</dc:creator>
            <guid>http://blogs.ugidotnet.org/rucka/archive/2004/02/12/393.aspx</guid>
            <pubDate>Thu, 12 Feb 2004 10:25:00 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/rucka/archive/2004/02/12/393.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/rucka/comments/commentRss/393.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>