<?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 Java Bien!</title>
	<atom:link href="http://sunchic.free.fr/wordpress/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunchic.free.fr/wordpress</link>
	<description>David Gageot, Java &#38; Agile</description>
	<pubDate>Sun, 31 May 2026 04:08:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-RC1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Crise, quelle crise ? by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/08/02/crise-quelle-crise/comment-page-1/#comment-38696</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 02 Aug 2009 16:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=440#comment-38696</guid>
		<description>&lt;a href="#comment-38695" rel="nofollow"&gt;@Antonio Goncalves&lt;/a&gt; C'est une belle porte de sortie. Avoir le courage d'écrire un bouquin également.</description>
		<content:encoded><![CDATA[<p><a href="#comment-38695" rel="nofollow">@Antonio Goncalves</a> C&#8217;est une belle porte de sortie. Avoir le courage d&#8217;écrire un bouquin également.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Crise, quelle crise ? by Antonio Goncalves</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/08/02/crise-quelle-crise/comment-page-1/#comment-38695</link>
		<dc:creator>Antonio Goncalves</dc:creator>
		<pubDate>Sun, 02 Aug 2009 16:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=440#comment-38695</guid>
		<description>Ma porte de sortie c'était de créer le Paris JUG afin de me retrouver avec des trentenaires passionnés comme moi. Je suis très heureux de l'avoir fait car aujourd'hui, une fois par mois, je papote avec le Touilleur Express, le Coder Breakfast et autre Gageot, Bob de Pyxis, Cyril de Xebia, Carl de Zenika, Jean-Mi de Fastconnect.... et autres indépendants en tout genre. Content d'avoir fait votre connaissance les gars.</description>
		<content:encoded><![CDATA[<p>Ma porte de sortie c&#8217;était de créer le Paris JUG afin de me retrouver avec des trentenaires passionnés comme moi. Je suis très heureux de l&#8217;avoir fait car aujourd&#8217;hui, une fois par mois, je papote avec le Touilleur Express, le Coder Breakfast et autre Gageot, Bob de Pyxis, Cyril de Xebia, Carl de Zenika, Jean-Mi de Fastconnect&#8230;. et autres indépendants en tout genre. Content d&#8217;avoir fait votre connaissance les gars.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mockito&#8217;s partial mocks. Testing real objects just got easier by Rogerio Liesenfeld</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/21/mockitos-partial-mocks-testing-real-objects-just-got-easier/comment-page-1/#comment-38691</link>
		<dc:creator>Rogerio Liesenfeld</dc:creator>
		<pubDate>Wed, 24 Jun 2009 02:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=420#comment-38691</guid>
		<description>&lt;a href="#comment-38688" rel="nofollow"&gt;@David&lt;/a&gt; 

Thanks! And yes, for only one or two expectations or verifications, Mockito syntax is shorter. But notice that Mockito requires one extra method call ("when", "verify") for each expectation/verification, while in JMockit there is typically only one Expectations/Verifications block for each test, no matter how many individual mock invocations the test executes.

For verifications in order, the JMockit syntax is more compact.
For example, in Mockito you would have:

   InOrder inOrder = inOrder(firstMock, secondMock);
   inOrder.verify(firstMock).add("was called first");
   inOrder.verify(secondMock).add("was called second");

versus in JMockit:

   new VerificationsInOrder() {{
      firstMock.add("was called first");
      secondMock.add("was called second");
   }};
</description>
		<content:encoded><![CDATA[<p><a href="#comment-38688" rel="nofollow">@David</a> </p>
<p>Thanks! And yes, for only one or two expectations or verifications, Mockito syntax is shorter. But notice that Mockito requires one extra method call (&#8221;when&#8221;, &#8220;verify&#8221;) for each expectation/verification, while in JMockit there is typically only one Expectations/Verifications block for each test, no matter how many individual mock invocations the test executes.</p>
<p>For verifications in order, the JMockit syntax is more compact.<br />
For example, in Mockito you would have:</p>
<p>   InOrder inOrder = inOrder(firstMock, secondMock);<br />
   inOrder.verify(firstMock).add(&#8221;was called first&#8221;);<br />
   inOrder.verify(secondMock).add(&#8221;was called second&#8221;);</p>
<p>versus in JMockit:</p>
<p>   new VerificationsInOrder() {{<br />
      firstMock.add(&#8221;was called first&#8221;);<br />
      secondMock.add(&#8221;was called second&#8221;);<br />
   }};</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mockito&#8217;s partial mocks. Testing real objects just got easier by 500 Brain Error &#187; Blog Archive &#187; Google Reader Shared Items - 23 June 2009</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/21/mockitos-partial-mocks-testing-real-objects-just-got-easier/comment-page-1/#comment-38690</link>
		<dc:creator>500 Brain Error &#187; Blog Archive &#187; Google Reader Shared Items - 23 June 2009</dc:creator>
		<pubDate>Tue, 23 Jun 2009 01:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=420#comment-38690</guid>
		<description>[...] Mockito’s partial mocks. Testing real objects just got easier [...]</description>
		<content:encoded><![CDATA[<p>[...] Mockito’s partial mocks. Testing real objects just got easier [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Tim12s</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38689</link>
		<dc:creator>Tim12s</dc:creator>
		<pubDate>Mon, 22 Jun 2009 11:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38689</guid>
		<description>Your complaint is about documentation, not inheritance.

People assume that good documentation can be substituted by reading the javadocs and bean definitions.  With inheritance this type of documentation becomes even more complex.

Another problem is that people misunderstand functional, procedural, object based and object oriented programming.

Frameworks such as swing, spring, joda, hibernate, etc should all use object orientation.  Applications should then then develop using composition instead of inheritance.  Again, there might be key concept that makes the application unique and a well designed object oriented structure makes sense - Object orientation is about extensible behavior.

Back to the original problem, it sounds like your complaint is about documentation.</description>
		<content:encoded><![CDATA[<p>Your complaint is about documentation, not inheritance.</p>
<p>People assume that good documentation can be substituted by reading the javadocs and bean definitions.  With inheritance this type of documentation becomes even more complex.</p>
<p>Another problem is that people misunderstand functional, procedural, object based and object oriented programming.</p>
<p>Frameworks such as swing, spring, joda, hibernate, etc should all use object orientation.  Applications should then then develop using composition instead of inheritance.  Again, there might be key concept that makes the application unique and a well designed object oriented structure makes sense - Object orientation is about extensible behavior.</p>
<p>Back to the original problem, it sounds like your complaint is about documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mockito&#8217;s partial mocks. Testing real objects just got easier by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/21/mockitos-partial-mocks-testing-real-objects-just-got-easier/comment-page-1/#comment-38688</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 22 Jun 2009 05:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=420#comment-38688</guid>
		<description>&lt;a href="#comment-38687" rel="nofollow"&gt;@Rogerio Liesenfeld&lt;/a&gt; Nice syntax. Not as compact as mockito but quite readable.</description>
		<content:encoded><![CDATA[<p><a href="#comment-38687" rel="nofollow">@Rogerio Liesenfeld</a> Nice syntax. Not as compact as mockito but quite readable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mockito&#8217;s partial mocks. Testing real objects just got easier by Rogerio Liesenfeld</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/21/mockitos-partial-mocks-testing-real-objects-just-got-easier/comment-page-1/#comment-38687</link>
		<dc:creator>Rogerio Liesenfeld</dc:creator>
		<pubDate>Sun, 21 Jun 2009 19:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=420#comment-38687</guid>
		<description>You can write it like this with JMockit:

&lt;code&gt;
FileTemplate mockFileTemplate; // declared as field or test parameter
...
CopyFileRule rule = new CopyFileRule("src.txt", "dest.txt");

new Expectations(rule) {{
 rule.createFileTemplate("TYPE1"); returns(mockFileTemplate);
}};
...
new Verifications() {{
  mockFileTemplate.copy("src.txt", "dest.txt");
}};
&lt;/code&gt;

Works for all kinds of methods (even final and static) and also constructors. The real "rule.createFileTemplate" is not called.</description>
		<content:encoded><![CDATA[<p>You can write it like this with JMockit:</p>
<p><code><br />
FileTemplate mockFileTemplate; // declared as field or test parameter<br />
...<br />
CopyFileRule rule = new CopyFileRule("src.txt", "dest.txt");</p>
<p>new Expectations(rule) {{<br />
 rule.createFileTemplate("TYPE1"); returns(mockFileTemplate);<br />
}};<br />
...<br />
new Verifications() {{<br />
  mockFileTemplate.copy("src.txt", "dest.txt");<br />
}};<br />
</code></p>
<p>Works for all kinds of methods (even final and static) and also constructors. The real &#8220;rule.createFileTemplate&#8221; is not called.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38686</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 21 Jun 2009 11:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38686</guid>
		<description>&lt;a href="#comment-38685" rel="nofollow"&gt;@Johnny Keogh&lt;/a&gt; Abstraction yes of course! Too much class inheritance no. And the "too much" comes very quickly. Come on, be honest, if I need class diagram and type hierarchy extensively there really is a problem in the code.</description>
		<content:encoded><![CDATA[<p><a href="#comment-38685" rel="nofollow">@Johnny Keogh</a> Abstraction yes of course! Too much class inheritance no. And the &#8220;too much&#8221; comes very quickly. Come on, be honest, if I need class diagram and type hierarchy extensively there really is a problem in the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Johnny Keogh</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38685</link>
		<dc:creator>Johnny Keogh</dc:creator>
		<pubDate>Sun, 21 Jun 2009 11:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38685</guid>
		<description>I don't agree with you at all.
You can hardly ever have too much abstraction in your code. Abstraction through inheritance lets you factor as much common code as possible and avoid duplication. If you're worried about readability maybe you should use class diagrams in parallel, and get familiar with some eclipse functionalities which show you the type hierarchy.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t agree with you at all.<br />
You can hardly ever have too much abstraction in your code. Abstraction through inheritance lets you factor as much common code as possible and avoid duplication. If you&#8217;re worried about readability maybe you should use class diagrams in parallel, and get familiar with some eclipse functionalities which show you the type hierarchy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Shantanu Kumar</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38684</link>
		<dc:creator>Shantanu Kumar</dc:creator>
		<pubDate>Sun, 21 Jun 2009 10:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38684</guid>
		<description>The most common recommended use of class inheritance is the template method pattern (refer http://en.wikipedia.org/wiki/Template_method_pattern and GoF book). The Java best practice is to keep this activity private to the class; that's why an inner class extending another abstract class is fine. Any decent framework (Spring, Hibernate...) uses this pattern a lot - you just need to keep the pattern in mind while wading through the code.

I feel Java based design patterns and OO concepts lead to a lot of waste while writing code - it has got cruft. On the other hand, the OO model of JavaScript (and probably Ruby) is quite clean. Check them out. Functional programming solves lot of these problems by shrinking the abstraction down to a function level (equivalent to a Java "final" interface having exactly one method). Example: Clojure and Erlang. Erlang solves a lot of JVM-design issues as well.</description>
		<content:encoded><![CDATA[<p>The most common recommended use of class inheritance is the template method pattern (refer <a href="http://en.wikipedia.org/wiki/Template_method_pattern" rel="nofollow">http://en.wikipedia.org/wiki/Template_method_pattern</a> and GoF book). The Java best practice is to keep this activity private to the class; that&#8217;s why an inner class extending another abstract class is fine. Any decent framework (Spring, Hibernate&#8230;) uses this pattern a lot - you just need to keep the pattern in mind while wading through the code.</p>
<p>I feel Java based design patterns and OO concepts lead to a lot of waste while writing code - it has got cruft. On the other hand, the OO model of JavaScript (and probably Ruby) is quite clean. Check them out. Functional programming solves lot of these problems by shrinking the abstraction down to a function level (equivalent to a Java &#8220;final&#8221; interface having exactly one method). Example: Clojure and Erlang. Erlang solves a lot of JVM-design issues as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38683</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 21 Jun 2009 09:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38683</guid>
		<description>&lt;a href="#comment-38682" rel="nofollow"&gt;@makkapakka&lt;/a&gt; I didn't know that. It's a nice outline view of inherited methods. Same thing on source code would really help.</description>
		<content:encoded><![CDATA[<p><a href="#comment-38682" rel="nofollow">@makkapakka</a> I didn&#8217;t know that. It&#8217;s a nice outline view of inherited methods. Same thing on source code would really help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by makkapakka</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38682</link>
		<dc:creator>makkapakka</dc:creator>
		<pubDate>Sun, 21 Jun 2009 09:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38682</guid>
		<description>In eclipse, from within the editor Ctrl + o and then Ctrl + o again.</description>
		<content:encoded><![CDATA[<p>In eclipse, from within the editor Ctrl + o and then Ctrl + o again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38681</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 21 Jun 2009 08:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38681</guid>
		<description>&lt;a href="#comment-38677" rel="nofollow"&gt;@Dave&lt;/a&gt; Sure the abuse of anything is always a problem. But how do you explain somebody why seven levels of abstraction is bad (even in a well written code)? My point is "just have him read te code and explain what it does". He should be lost quickly and now he understands. I took Spring code because it is a well documentated code. So the problem is not about dirty code, it's really about readability of class abstraction.</description>
		<content:encoded><![CDATA[<p><a href="#comment-38677" rel="nofollow">@Dave</a> Sure the abuse of anything is always a problem. But how do you explain somebody why seven levels of abstraction is bad (even in a well written code)? My point is &#8220;just have him read te code and explain what it does&#8221;. He should be lost quickly and now he understands. I took Spring code because it is a well documentated code. So the problem is not about dirty code, it&#8217;s really about readability of class abstraction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38680</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 21 Jun 2009 08:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38680</guid>
		<description>&lt;a href="#comment-38678" rel="nofollow"&gt;@Jkilgrow&lt;/a&gt; You are right. Readability is not universal but still it should drive every developer's choices. Seven levels of abstract is not ok to read!</description>
		<content:encoded><![CDATA[<p><a href="#comment-38678" rel="nofollow">@Jkilgrow</a> You are right. Readability is not universal but still it should drive every developer&#8217;s choices. Seven levels of abstract is not ok to read!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Peter Lawrey</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38679</link>
		<dc:creator>Peter Lawrey</dc:creator>
		<pubDate>Sun, 21 Jun 2009 07:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38679</guid>
		<description>I agree that inheritance can result in solution which is confusing to read or follow. Some care needs to be taken when using inheritance. One example which comes to mind is the ORB classes.

com.sun.corba.se.spi.orb.ORB extends com.sun.corba.se.org.omg.CORBA.ORB extends org.omg.CORBA_2_3.ORB extends org.omg.CORBA.ORB</description>
		<content:encoded><![CDATA[<p>I agree that inheritance can result in solution which is confusing to read or follow. Some care needs to be taken when using inheritance. One example which comes to mind is the ORB classes.</p>
<p>com.sun.corba.se.spi.orb.ORB extends com.sun.corba.se.org.omg.CORBA.ORB extends org.omg.CORBA_2_3.ORB extends org.omg.CORBA.ORB</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Jkilgrow</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38678</link>
		<dc:creator>Jkilgrow</dc:creator>
		<pubDate>Sun, 21 Jun 2009 04:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38678</guid>
		<description>Inheritance is just like any other tool. In the hands of one who does not know its proper use it becomes a menace.

Coding is part science and part art. The overuse of inheritance may be scientifically sound but it is cumbersome for humans to read. Code, like art, should be pleasing to the eye.

I know programmers who pride themselves in the obfuscation of their code in the name of job security. These people should not be in the industry.</description>
		<content:encoded><![CDATA[<p>Inheritance is just like any other tool. In the hands of one who does not know its proper use it becomes a menace.</p>
<p>Coding is part science and part art. The overuse of inheritance may be scientifically sound but it is cumbersome for humans to read. Code, like art, should be pleasing to the eye.</p>
<p>I know programmers who pride themselves in the obfuscation of their code in the name of job security. These people should not be in the industry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Dave</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38677</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 21 Jun 2009 02:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38677</guid>
		<description>The issue seems to be the *abuse* of class inheritance, not class inheritance itself. Some folks try to do everything via class inheritance even when it doesn't make sense or can be handled in better ways.</description>
		<content:encoded><![CDATA[<p>The issue seems to be the *abuse* of class inheritance, not class inheritance itself. Some folks try to do everything via class inheritance even when it doesn&#8217;t make sense or can be handled in better ways.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by raveman</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38676</link>
		<dc:creator>raveman</dc:creator>
		<pubDate>Sat, 20 Jun 2009 19:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38676</guid>
		<description>i think the title is wrong, its about too much abstraction. you can also use interfaces for it, i remember class that had field(interface) and there were like 7 implementations and and those implementation had the same type of field. to know what implementation is used you had to use debugger.</description>
		<content:encoded><![CDATA[<p>i think the title is wrong, its about too much abstraction. you can also use interfaces for it, i remember class that had field(interface) and there were like 7 implementations and and those implementation had the same type of field. to know what implementation is used you had to use debugger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by Jordan Zimmerman</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38675</link>
		<dc:creator>Jordan Zimmerman</dc:creator>
		<pubDate>Sat, 20 Jun 2009 08:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38675</guid>
		<description>I agree. Shallow or no inheritance is best. Composition is much better. A mistake I see a lot is using inheritance to override a single method or two. Instead, passing in a interface that handles this is much better.</description>
		<content:encoded><![CDATA[<p>I agree. Shallow or no inheritance is best. Composition is much better. A mistake I see a lot is using inheritance to override a single method or two. Instead, passing in a interface that handles this is much better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I don&#8217;t like inheritance in Java and now I know how to explain why by David</title>
		<link>http://sunchic.free.fr/wordpress/index.php/archives/2009/06/19/i-dont-like-inheritance-in-java-and-now-i-know-how-to-explain-why/comment-page-1/#comment-38674</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 19 Jun 2009 20:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://sunchic.free.fr/wordpress/?p=405#comment-38674</guid>
		<description>You are right. Sorry for the inconvenience.</description>
		<content:encoded><![CDATA[<p>You are right. Sorry for the inconvenience.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
