<?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 on: Exploring the syntax in the JDK1.5 early access compiler</title>
	<atom:link href="http://madbean.com/2003/mb2003-57/feed/" rel="self" type="application/rss+xml" />
	<link>http://madbean.com/2003/mb2003-57/</link>
	<description>The other kind of micro blog</description>
	<lastBuildDate>Thu, 19 Jan 2012 22:23:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Neal Gafter</title>
		<link>http://madbean.com/2003/mb2003-57/comment-page-1/#comment-160</link>
		<dc:creator>Neal Gafter</dc:creator>
		<pubDate>Thu, 06 Nov 2003 06:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-57#comment-160</guid>
		<description>&lt;p&gt;&gt; How would sentences would it take to explain List&lt;? extends E&gt; to someone?&lt;/p&gt;

&lt;p&gt;How about &quot;A List of some unknown type that is E or some subtype of E&quot;?&lt;/p&gt;

&lt;p&gt;Parameterized member functions certainly are allowed, but not often needed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&gt; How would sentences would it take to explain List&lt;? extends E&gt; to someone?</p>
<p>How about &quot;A List of some unknown type that is E or some subtype of E&quot;?</p>
<p>Parameterized member functions certainly are allowed, but not often needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sune</title>
		<link>http://madbean.com/2003/mb2003-57/comment-page-1/#comment-159</link>
		<dc:creator>Sune</dc:creator>
		<pubDate>Thu, 09 Oct 2003 12:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-57#comment-159</guid>
		<description>&lt;p&gt;Generics makes Java programs a bit harder to read and to understand, that&#039;s true. But the improved type safety and reduced number of bugs will make it worth the extra learning effort. Understanding the type system is a requirement for using the language. &lt;/p&gt;

&lt;p&gt;If I understand correctly, the extended generics syntax allows you to write member functions like:&lt;/p&gt;

&lt;p&gt;class MyClass {
  public void addThings(List&lt;? extends Thing&gt; list) {
    ...
  }
}&lt;/p&gt;

&lt;p&gt;which would be equivalent to:&lt;/p&gt;

&lt;p&gt;class MyClass {
  public &lt;T extends Thing&gt; void addThings(List&lt;T&gt; list) {
    ...
  }
}&lt;/p&gt;

&lt;p&gt;But are parameterized member (non-static) functions allowed in the current generics proposal?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Generics makes Java programs a bit harder to read and to understand, that&#8217;s true. But the improved type safety and reduced number of bugs will make it worth the extra learning effort. Understanding the type system is a requirement for using the language. </p>
<p>If I understand correctly, the extended generics syntax allows you to write member functions like:</p>
<p>class MyClass {<br />
  public void addThings(List&lt;? extends Thing&gt; list) {<br />
    &#8230;<br />
  }<br />
}</p>
<p>which would be equivalent to:</p>
<p>class MyClass {<br />
  public &lt;T extends Thing&gt; void addThings(List&lt;T&gt; list) {<br />
    &#8230;<br />
  }<br />
}</p>
<p>But are parameterized member (non-static) functions allowed in the current generics proposal?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Quail</title>
		<link>http://madbean.com/2003/mb2003-57/comment-page-1/#comment-158</link>
		<dc:creator>Matt Quail</dc:creator>
		<pubDate>Thu, 09 Oct 2003 09:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-57#comment-158</guid>
		<description>&lt;p&gt;Sune, I totally agree that it is powerful to be able to write List&lt;? extends E&gt;. My only concern is its complexity. How would sentences would it take to explain List&lt;? extends E&gt; to someone? What inbuilt type-theory knowledge would they need, beyond the ordinary Java OO principles?&lt;/p&gt;

&lt;p&gt;:)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sune, I totally agree that it is powerful to be able to write List&lt;? extends E&gt;. My only concern is its complexity. How would sentences would it take to explain List&lt;? extends E&gt; to someone? What inbuilt type-theory knowledge would they need, beyond the ordinary Java OO principles?</p>
<p> <img src='http://madbean.com/wp-content/plugins/smilies-themer/adiumicons/happy.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sune</title>
		<link>http://madbean.com/2003/mb2003-57/comment-page-1/#comment-157</link>
		<dc:creator>Sune</dc:creator>
		<pubDate>Thu, 09 Oct 2003 08:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-57#comment-157</guid>
		<description>&lt;p&gt;I like the generics proposal. It&#039;s very powerful to be able to write List&lt;? extends E&gt;, instead of just List&lt;E&gt;. I hope this feature is included in the final release, but I would prefer some other syntax, for example +E.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I like the generics proposal. It&#8217;s very powerful to be able to write List&lt;? extends E&gt;, instead of just List&lt;E&gt;. I hope this feature is included in the final release, but I would prefer some other syntax, for example +E.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

