<?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: A few requests for Java 7, part 1</title>
	<atom:link href="http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/</link>
	<description>by Java coders, for Java coders</description>
	<lastBuildDate>Tue, 07 Sep 2010 06:16:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ionel</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-62667</link>
		<dc:creator>Ionel</dc:creator>
		<pubDate>Tue, 08 Dec 2009 12:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-62667</guid>
		<description>&lt;p&gt;What about an operator between - something really simple that could prove to be useful : so instead of a &lt; 5 &amp;&amp; a &gt; 2, we have a in (2,5)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What about an operator between - something really simple that could prove to be useful : so instead of a &lt; 5 &amp;&amp; a &gt; 2, we have a in (2,5)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish Ranjan</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-3239</link>
		<dc:creator>Ashish Ranjan</dc:creator>
		<pubDate>Wed, 28 Nov 2007 07:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-3239</guid>
		<description>&lt;p&gt;In my opinion, the most urgently required thing in core language is HEREDOC feature. C#/Ruby/PHP/Perl every language has this feature and this is a must tool and also this feature can not be replicated by any java library, it should be part of java syntax itself.
   For example: Creating sql string with lots of string appends is a big headache, whereas it is boon to do the same with by heredoc(multiline strings) with/without interpolation.&lt;/p&gt;

&lt;p&gt;bye :-)
Ashish Ranjan
ashishwave@yahoo.com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In my opinion, the most urgently required thing in core language is HEREDOC feature. C#/Ruby/PHP/Perl every language has this feature and this is a must tool and also this feature can not be replicated by any java library, it should be part of java syntax itself.
   For example: Creating sql string with lots of string appends is a big headache, whereas it is boon to do the same with by heredoc(multiline strings) with/without interpolation.</p>

<p>bye <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> 
Ashish Ranjan
<a href="mailto:ashishwave@yahoo.com">ashishwave@yahoo.com</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-2169</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 01 Nov 2007 10:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-2169</guid>
		<description>&lt;p&gt;@Ian fast array compare would be nice... somewhat related, were you aware that the &lt;code&gt;CharSequence.compareTo&lt;/code&gt; is optimised by the Hotspot runtime for super-fast character comparisons. This is inherited by &lt;code&gt;String&lt;/code&gt;.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Ian fast array compare would be nice&#8230; somewhat related, were you aware that the <code>CharSequence.compareTo</code> is optimised by the Hotspot runtime for super-fast character comparisons. This is inherited by <code>String</code>.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-2166</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 01 Nov 2007 06:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-2166</guid>
		<description>&lt;p&gt;I strongly agree with your zero-copy subarray feature, though I don&#039;t particularly care how the syntax works.&lt;/p&gt;

&lt;p&gt;I&#039;d also like fast array compare methods, analagous to Arrays.equals(), based on C&#039;s memcmp.  Java&#039;s Array.equals() or an equivalent array comparator are over an order of magnitude slower than C&#039;s memcmp. &lt;/p&gt;

&lt;p&gt;-Ian&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I strongly agree with your zero-copy subarray feature, though I don&#8217;t particularly care how the syntax works.</p>

<p>I&#8217;d also like fast array compare methods, analagous to Arrays.equals(), based on C&#8217;s memcmp.  Java&#8217;s Array.equals() or an equivalent array comparator are over an order of magnitude slower than C&#8217;s memcmp. </p>

<p>-Ian</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-1868</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 19 Oct 2007 23:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-1868</guid>
		<description>&lt;p&gt;Stephen, I believe I&#039;ve seen that before (in the form of a triple-equal &lt;code&gt;===&lt;/code&gt; operator), and I&#039;m totally in favour of in. Dealing with null really is what adds all that boilerplate! However, my concern with it would be that it would then leak out of &lt;code&gt;equals&lt;/code&gt; methods and then we&#039;ll have &lt;code&gt;==&lt;/code&gt;, &lt;code&gt;.=&lt;/code&gt; and &lt;code&gt;equals&lt;/code&gt; to worry about! Maybe that&#039;s not such a bad thing, but in that case I&#039;d probably like to &lt;code&gt;@Deprecated Object.equals&lt;/code&gt; :-) (which is an insane modification)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stephen, I believe I&#8217;ve seen that before (in the form of a triple-equal <code>===</code> operator), and I&#8217;m totally in favour of in. Dealing with null really is what adds all that boilerplate! However, my concern with it would be that it would then leak out of <code>equals</code> methods and then we&#8217;ll have <code>==</code>, <code>.=</code> and <code>equals</code> to worry about! Maybe that&#8217;s not such a bad thing, but in that case I&#8217;d probably like to <code>@Deprecated Object.equals</code> <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  (which is an insane modification)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Colebourne</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-1849</link>
		<dc:creator>Stephen Colebourne</dc:creator>
		<pubDate>Fri, 19 Oct 2007 08:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-1849</guid>
		<description>&lt;p&gt;Your equals construct is too specific IMO. See &lt;a href=&quot;thttp://www.jroller.com/scolebourne/entry/java_7_dot_equals&quot; rel=&quot;nofollow&quot;&gt;this blog pos&lt;/a&gt;. This allows you to write:&lt;/p&gt;

&lt;p&gt;a .= b&lt;/p&gt;

&lt;p&gt;and have it translated by the compiler to &lt;/p&gt;

&lt;p&gt;(a == b &#124;&#124; (a != null &amp;&amp; a.equals(b)))&lt;/p&gt;

&lt;p&gt;This is a solution that has much wider applicability, and would make a huge difference to readability.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Your equals construct is too specific IMO. See <a href="thttp://www.jroller.com/scolebourne/entry/java_7_dot_equals" rel="nofollow">this blog pos</a>. This allows you to write:</p>

<p>a .= b</p>

<p>and have it translated by the compiler to </p>

<p>(a == b || (a != null &amp;&amp; a.equals(b)))</p>

<p>This is a solution that has much wider applicability, and would make a huge difference to readability.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Miller - Java 7 Roundup (Oct 18th)</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-1842</link>
		<dc:creator>Alex Miller - Java 7 Roundup (Oct 18th)</dc:creator>
		<pubDate>Fri, 19 Oct 2007 04:30:35 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-1842</guid>
		<description>&lt;p&gt;[...] The javablog had a post about several Java 7 requests: [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[&#8230;] The javablog had a post about several Java 7 requests: [&#8230;]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-1809</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 17 Oct 2007 21:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-1809</guid>
		<description>&lt;p&gt;Kezzer, I see your point... I must admit my biggest gripe about languages like Perl are that there are so many ways to do something that I just don&#039;t know where to begin. However, that said... I really do feel that something must be done about the boilerplate in &lt;code&gt;equals&lt;/code&gt; and limited operator overloading would be such a nice addition resulting in much more terse and readable code. It wouldn&#039;t even be &quot;a different way of doing it&quot;, it&#039;d just be a different way of writing it, which is very different as the logic and objects involved remain the same.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Kezzer, I see your point&#8230; I must admit my biggest gripe about languages like Perl are that there are so many ways to do something that I just don&#8217;t know where to begin. However, that said&#8230; I really do feel that something must be done about the boilerplate in <code>equals</code> and limited operator overloading would be such a nice addition resulting in much more terse and readable code. It wouldn&#8217;t even be &#8220;a different way of doing it&#8221;, it&#8217;d just be a different way of writing it, which is very different as the logic and objects involved remain the same.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-1808</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 17 Oct 2007 21:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-1808</guid>
		<description>&lt;p&gt;Marek... that would be great :-) I&#039;m thinking specifically of &lt;a href=&quot;http://openlapi.com&quot; rel=&quot;nofollow&quot;&gt;OpenLAPI&lt;/a&gt; where some code is referencing up to 3 different classes of the same name (well, it did in &lt;a href=&quot;http://javablog.co.uk/2007/08/29/j2me-development-on-os-x/&quot; rel=&quot;nofollow&quot;&gt;this almost-release&lt;/a&gt;). Of course that is J2ME and would never get the benefits of Java 7 updates, but it just screams out at me how useful it would be.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Marek&#8230; that would be great <img src='http://javablog.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I&#8217;m thinking specifically of <a href="http://openlapi.com" rel="nofollow">OpenLAPI</a> where some code is referencing up to 3 different classes of the same name (well, it did in <a href="http://javablog.co.uk/2007/08/29/j2me-development-on-os-x/" rel="nofollow">this almost-release</a>). Of course that is J2ME and would never get the benefits of Java 7 updates, but it just screams out at me how useful it would be.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marek</title>
		<link>http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/comment-page-1/#comment-1806</link>
		<dc:creator>Marek</dc:creator>
		<pubDate>Wed, 17 Oct 2007 17:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://javablog.co.uk/2007/10/15/a-few-requests-for-java-7-part-1/#comment-1806</guid>
		<description>&lt;p&gt;Hi, 
getters and setters are really good features hope they will be  included in the Java 7 (read about properties in Java 7). However from my point of view it is also very important to have import aliases, just like c++ or c#. This would be so great addition to Java - just imagine no more problems with naming classes - see awt and swing for a good example why import aliases are so needed (currently you have to avoid classes with same name, cause you will have problems to use them in the same time). &lt;pre&gt;&lt;code&gt;
import java.awt.Component as AwtComponent;
import javax.swing.Component as SwingComponent;
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;So no more ClassName (like in swing) - total freedom of naming. That would be great. Hope, that someone will read this. Regards.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, 
getters and setters are really good features hope they will be  included in the Java 7 (read about properties in Java 7). However from my point of view it is also very important to have import aliases, just like c++ or c#. This would be so great addition to Java - just imagine no more problems with naming classes - see awt and swing for a good example why import aliases are so needed (currently you have to avoid classes with same name, cause you will have problems to use them in the same time). <pre class="highlighted"><code>
import java.awt.Component as AwtComponent;
import javax.swing.Component as SwingComponent;
</code></pre></p>

<p>So no more ClassName (like in swing) - total freedom of naming. That would be great. Hope, that someone will read this. Regards.</p>]]></content:encoded>
	</item>
</channel>
</rss>
