<?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"
	>
<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>Your zero step program</description>
	<pubDate>Wed, 08 Oct 2008 06:36:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Neal Gafter</title>
		<link>http://madbean.com/2003/mb2003-57/#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;&#62; How would sentences would it take to explain List&#60;? extends E&#62; to someone?&lt;/p&gt;

&lt;p&gt;How about &#34;A List of some unknown type that is E or some subtype of E&#34;?&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-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'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&#60;? extends Thing&#62; list) {
    ...
  }
}&lt;/p&gt;

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

&lt;p&gt;class MyClass {
  public &#60;T extends Thing&#62; void addThings(List&#60;T&#62; 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-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&#60;? extends E&#62;. My only concern is its complexity. How would sentences would it take to explain List&#60;? extends E&#62; 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>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sune</title>
		<link>http://madbean.com/2003/mb2003-57/#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's very powerful to be able to write List&#60;? extends E&#62;, instead of just List&#60;E&#62;. 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>
