<?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 for .NET development and architecture</title> <atom:link href="http://blog.vuscode.com/comments/feed" rel="self" type="application/rss+xml" /><link>http://blog.vuscode.com</link> <description>Coding dreams since 1998!</description> <lastBuildDate>Tue, 19 Apr 2011 13:38:30 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Comment on How to do multiple inheritance in C# &#8211; Implementation over delegation (IOD) by Mahesh M</title><link>http://blog.vuscode.com/malovicn/archive/2006/10/20/how-to-do-multiple-inheritance-in-c-implementation-over-delegation-iod.aspx#comment-712</link> <dc:creator>Mahesh M</dc:creator> <pubDate>Tue, 19 Apr 2011 13:38:30 +0000</pubDate> <guid
isPermaLink="false">#comment-712</guid> <description>Hi Thomas,
This is really good example of Jedi sample.
Still it has kind of dependency
like while instanciating jedimaster we need to know about instance of lightinghand and hence i think it is kind of dependency injection. still it does not solves the contravarience problem (i.e converting from jedimaster to lightinghand
but in the example above we can solve the issue as explain below;
IClassB interface = new MyUserControl();
correct me if i am wrong since I am not master in OOPS.
Regards,
Mahesh M</description> <content:encoded><![CDATA[<p>Hi Thomas,</p><p>This is really good example of Jedi sample.<br
/> Still it has kind of dependency<br
/> like while instanciating jedimaster we need to know about instance of lightinghand and hence i think it is kind of dependency injection. still it does not solves the contravarience problem (i.e converting from jedimaster to lightinghand</p><p>but in the example above we can solve the issue as explain below;<br
/> IClassB interface = new MyUserControl();</p><p>correct me if i am wrong since I am not master in OOPS.</p><p>Regards,<br
/> Mahesh M</p> ]]></content:encoded> </item> <item><title>Comment on How to do multiple inheritance in C# &#8211; Implementation over delegation (IOD) by Jordan</title><link>http://blog.vuscode.com/malovicn/archive/2006/10/20/how-to-do-multiple-inheritance-in-c-implementation-over-delegation-iod.aspx#comment-711</link> <dc:creator>Jordan</dc:creator> <pubDate>Tue, 19 Apr 2011 11:39:42 +0000</pubDate> <guid
isPermaLink="false">#comment-711</guid> <description>Correction: “Your example isn’t very practical and, as a side effect, doesn’t make sense.”</description> <content:encoded><![CDATA[<p>Correction: “Your example isn’t very practical and, as a side effect, doesn’t make sense.”</p> ]]></content:encoded> </item> <item><title>Comment on How to do multiple inheritance in C# &#8211; Implementation over delegation (IOD) by Jordan</title><link>http://blog.vuscode.com/malovicn/archive/2006/10/20/how-to-do-multiple-inheritance-in-c-implementation-over-delegation-iod.aspx#comment-710</link> <dc:creator>Jordan</dc:creator> <pubDate>Tue, 19 Apr 2011 11:39:02 +0000</pubDate> <guid
isPermaLink="false">#comment-710</guid> <description>Correction to my previous comment: &quot;Your example isn&#039;t very practical and, as a side effect, doesn&#039;t make sense.&quot;</description> <content:encoded><![CDATA[<p>Correction to my previous comment: &#8220;Your example isn&#8217;t very practical and, as a side effect, doesn&#8217;t make sense.&#8221;</p> ]]></content:encoded> </item> <item><title>Comment on How to do multiple inheritance in C# &#8211; Implementation over delegation (IOD) by Jordan</title><link>http://blog.vuscode.com/malovicn/archive/2006/10/20/how-to-do-multiple-inheritance-in-c-implementation-over-delegation-iod.aspx#comment-709</link> <dc:creator>Jordan</dc:creator> <pubDate>Tue, 19 Apr 2011 11:37:13 +0000</pubDate> <guid
isPermaLink="false">#comment-709</guid> <description>Your example isn&#039;t very practical and a side effect doesn&#039;t make sense. You mention using a List object in the beginning, then switch to a custom collection. The generic List object is better and would eliminate the need for a ClassB class. That in turn eliminates the need for the IClassB interface.
Ultimately though, even if multiple inheritance were available in C#, you wouldn&#039;t want the MyUserControl to be a CustomerCollection, but instead you&#039;d want it to contain a CustomerCollection. This is a convoluted example of encapsulation and a bad example of inheritance.
Object-oriented programming is a way of representing the real world more accurately in code, and make developing application easier, faster, and more maintainable. I cannot think of any situations where multiple inheritance makes any sense. In C++, multiple inheritance makes sense only because C++ doesn&#039;t have a formal interface type. In C++, interfaces are just classes with pure virtual functions and no data members.
I would love for someone to give an example where multiple inheritance would be useful, but I don&#039;t think there are any.
I only just started reading your blog, and I like it so far. We all make mistakes, myself included, so don&#039;t take my comment personally.</description> <content:encoded><![CDATA[<p>Your example isn&#8217;t very practical and a side effect doesn&#8217;t make sense. You mention using a List object in the beginning, then switch to a custom collection. The generic List object is better and would eliminate the need for a ClassB class. That in turn eliminates the need for the IClassB interface.</p><p>Ultimately though, even if multiple inheritance were available in C#, you wouldn&#8217;t want the MyUserControl to be a CustomerCollection, but instead you&#8217;d want it to contain a CustomerCollection. This is a convoluted example of encapsulation and a bad example of inheritance.</p><p>Object-oriented programming is a way of representing the real world more accurately in code, and make developing application easier, faster, and more maintainable. I cannot think of any situations where multiple inheritance makes any sense. In C++, multiple inheritance makes sense only because C++ doesn&#8217;t have a formal interface type. In C++, interfaces are just classes with pure virtual functions and no data members.</p><p>I would love for someone to give an example where multiple inheritance would be useful, but I don&#8217;t think there are any.</p><p>I only just started reading your blog, and I like it so far. We all make mistakes, myself included, so don&#8217;t take my comment personally.</p> ]]></content:encoded> </item> <item><title>Comment on Say no to ServiceLocator by The Service locator pattern is evil &#124; Tom de Koning</title><link>http://blog.vuscode.com/malovicn/archive/2009/10/20/say-no-to-servicelocator.aspx#comment-683</link> <dc:creator>The Service locator pattern is evil &#124; Tom de Koning</dc:creator> <pubDate>Mon, 04 Apr 2011 15:25:43 +0000</pubDate> <guid
isPermaLink="false">#comment-683</guid> <description>[...] are many references why this should be avoided (see here, here and here) , but I think the one reason why you should not do it is testability. You should be able to mock [...]</description> <content:encoded><![CDATA[<p>[...] are many references why this should be avoided (see here, here and here) , but I think the one reason why you should not do it is testability. You should be able to mock [...]</p> ]]></content:encoded> </item> <item><title>Comment on 5 reasons why Silverlight sucks in LOB (compared to WPF) by chris</title><link>http://blog.vuscode.com/malovicn/archive/2010/06/02/5-reasons-why-silverlight-sucks-in-lob-compared-to-wpf.aspx#comment-682</link> <dc:creator>chris</dc:creator> <pubDate>Sat, 02 Apr 2011 06:50:09 +0000</pubDate> <guid
isPermaLink="false">#comment-682</guid> <description>u r right.. runs only on mac nd windows &amp; windows phone i guess... @present we have android nd other new linux versions getting more popular..
wish SL version 5 is platform independent ...</description> <content:encoded><![CDATA[<p>u r right.. runs only on mac nd windows &amp; windows phone i guess&#8230; @present we have android nd other new linux versions getting more popular..<br
/> wish SL version 5 is platform independent &#8230;</p> ]]></content:encoded> </item> <item><title>Comment on Model View Presenter (MVP) VS Model View Controller (MVC) by st.clouds</title><link>http://blog.vuscode.com/malovicn/archive/2007/12/18/model-view-presenter-mvp-vs-model-view-controller-mvc.aspx#comment-681</link> <dc:creator>st.clouds</dc:creator> <pubDate>Thu, 31 Mar 2011 15:24:29 +0000</pubDate> <guid
isPermaLink="false">#comment-681</guid> <description>Ignore 115.111.36.98, we know he&#039;s an idiot.
I do think there&#039;s a lot more modularity that can be achieved using WCSF. It&#039;s a really good framework. So many tools and options also open up to you and you can achieve much better cohesion than you can with MVC (admittedly my biggest complain about it atm).
Very good observation with convincing architectural argument.</description> <content:encoded><![CDATA[<p>Ignore 115.111.36.98, we know he&#8217;s an idiot.</p><p> I do think there&#8217;s a lot more modularity that can be achieved using WCSF. It&#8217;s a really good framework. So many tools and options also open up to you and you can achieve much better cohesion than you can with MVC (admittedly my biggest complain about it atm).</p><p>Very good observation with convincing architectural argument.</p> ]]></content:encoded> </item> <item><title>Comment on TDD &#8211; Rhino Mocks &#8211; Part 2 &#8211; Some common scenarios by KD</title><link>http://blog.vuscode.com/malovicn/archive/2007/10/21/tdd-rhino-mocks-part-2-some-common-scenarios.aspx#comment-641</link> <dc:creator>KD</dc:creator> <pubDate>Wed, 23 Mar 2011 04:26:48 +0000</pubDate> <guid
isPermaLink="false">#comment-641</guid> <description>Really a nice blog explaining exactly what i was looking for....
It really helps new learners to get the exact scenario about rhino mocks....
Thanks for posting..</description> <content:encoded><![CDATA[<p>Really a nice blog explaining exactly what i was looking for&#8230;.<br
/> It really helps new learners to get the exact scenario about rhino mocks&#8230;.<br
/> Thanks for posting..</p> ]]></content:encoded> </item> <item><title>Comment on Asking the right questions while interviewing developers by tcmaster</title><link>http://blog.vuscode.com/malovicn/archive/2010/01/08/asking-the-right-questions-while-interviewing-developers.aspx#comment-622</link> <dc:creator>tcmaster</dc:creator> <pubDate>Sat, 19 Mar 2011 14:34:08 +0000</pubDate> <guid
isPermaLink="false">#comment-622</guid> <description>Me too. I DISagree the example has anything to do with the way memory is used. It&#039;s how the compiler handle the virtual methods.
The default .net compiler will put (in most cases, but not always. where the int in a class put?) value types in heap, and ref type in stack. But no one prevents you from writing a compiler which does not have even concept for stack and heap. But if you want it to be C# compatible compiler, it must behave the way when it meets virtual methods.</description> <content:encoded><![CDATA[<p>Me too. I DISagree the example has anything to do with the way memory is used. It&#8217;s how the compiler handle the virtual methods.<br
/> The default .net compiler will put (in most cases, but not always. where the int in a class put?) value types in heap, and ref type in stack. But no one prevents you from writing a compiler which does not have even concept for stack and heap. But if you want it to be C# compatible compiler, it must behave the way when it meets virtual methods.</p> ]]></content:encoded> </item> <item><title>Comment on Naked MVVM–simplest possible MVVM approach by Siderite</title><link>http://blog.vuscode.com/malovicn/archive/2010/11/07/naked-mvvm-simplest-possible-mvvm-approach.aspx#comment-475</link> <dc:creator>Siderite</dc:creator> <pubDate>Sat, 05 Mar 2011 20:27:07 +0000</pubDate> <guid
isPermaLink="false">#comment-475</guid> <description>Damn it, Andre Luus, I was going to try to seem smart by linking to Rob Eisenberg&#039;s talk and you got there first. At least I get to point out that you mispelled his name :-P</description> <content:encoded><![CDATA[<p>Damn it, Andre Luus, I was going to try to seem smart by linking to Rob Eisenberg&#8217;s talk and you got there first. At least I get to point out that you mispelled his name <img
src='http://blog.vuscode.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Dynamic page generated in 5.520 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-10 17:24:56 -->
<!-- Compression = gzip -->
