﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on When should you encourage code duplication?</title><description>The question is:
  
Is IReturnBookView and ICheckOutBookView ARE A IBookView - well, they are both a view on a book, but I don't think that I can say that they satisfy the basic condition for inheritnece.
</description><link>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment6</link><guid>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment6</guid><pubDate>Tue, 12 Jun 2007 17:42:52 GMT</pubDate></item><item><title>Chris Hynes commented on When should you encourage code duplication?</title><description>If you really wanted to eliminate duplication, you could create an IBookView with the two properties and then inherit the other interfaces from that.
</description><link>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment5</link><guid>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment5</guid><pubDate>Tue, 12 Jun 2007 17:37:10 GMT</pubDate></item><item><title>Ayende Rahien commented on When should you encourage code duplication?</title><description>Foobar, thanks, fixed.
</description><link>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment4</link><guid>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment4</guid><pubDate>Tue, 12 Jun 2007 03:31:01 GMT</pubDate></item><item><title>Tim Scott commented on When should you encourage code duplication?</title><description>Duplication can be coincidental but usually not.  When I spot it I strain my brain to return a semantically satifying name without the "And."  Usually it works, but sometimes I just split it up...and then I take an asprin. :)
</description><link>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment3</link><guid>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment3</guid><pubDate>Tue, 12 Jun 2007 00:34:13 GMT</pubDate></item><item><title>foobar commented on When should you encourage code duplication?</title><description>Is it IReturnBookView or IRetrunBookView?
  
  
Change "responsability" to "responsibility".
  
</description><link>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment2</link><guid>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment2</guid><pubDate>Mon, 11 Jun 2007 23:38:20 GMT</pubDate></item><item><title>Christian Crowhurst commented on When should you encourage code duplication?</title><description>Can't remember where I first heard the term, but this sounds like a touch of "coincidental duplication".
</description><link>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment1</link><guid>http://ayende.com/2546/when-should-you-encourage-code-duplication#comment1</guid><pubDate>Mon, 11 Jun 2007 22:12:22 GMT</pubDate></item></channel></rss>