<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Java Notebook</title>
  <link>http://javanotebook.com/</link>
  <description>notes on programming with Java™  technologies</description>
  <language>en</language>
  <copyright>Dario Laverde</copyright>
  <lastBuildDate>Fri, 14 Dec 2007 21:17:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>AOP vs Java 7&#039;s closures, extension methods, type inference...</title>
    <link>http://javanotebook.com/2007/12/15/aop_vs_java_7s_closures_extension_methods_type_inference.html</link>
    
      
      
        <description>
          thoughts on Alex Miller&#039;s &amp;quot;Through the Java looking glass&amp;quot; (Dec 15, 2007)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Yesterday (Dec 14) Alex Miller posted &amp;quot;Through the Java looking glass&amp;quot;, which brought up some interesting points regarding the new Java 7 additions to the language wondering aloud if Java 7 &amp;quot;is going to succeed in creating an environment that still makes sense or whether it will be just the ugly step-child of these ideas which are better executed in their own environments&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&#034;http://tech.puredanger.com/2007/12/14/through-the-java-looking-glass&#034;&gt; http://tech.puredanger.com/2007/12/14/through-the-java-looking-glass&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
As you may know Alex hosts the best site that follows all the Java 7 developments in one place over at at &lt;a href=&#034;http://tech.puredanger.com/java7&#034;&gt;http://tech.puredanger.com/java7&lt;/a&gt; So I took notice when Alex questioned these new features and realized that perhaps many of us are blinded by the &amp;quot;me too&amp;quot; rush for these features in Java 7.&lt;br /&gt;
&lt;br /&gt;
I recall when Gregor Kiczales (father of AOP) and company gave one of the first AOP sessions at JavaOne 2000 and have too wondered why AOP did not catch on with developers and why only now is prevalent in frameworks like Spring, Hibernate, etc. Likewise I presented an OSGi session at that same JavaOne 2000 and suggested using OSGi not just for home automation but as the basis for enterprise application development only to see it now be touted as a &amp;quot;new technology&amp;quot; by some and available in frameworks like Spring.&lt;br /&gt;
&lt;br /&gt;
So will Java 7 closures (for example) follow a similar path? Will developers make use of these retrofitted features in Java 7 en masse or will it&amp;nbsp; initially be adopted by framework developers like Neil Gafter&#039;s closures protoyype example as applied to Doug Lea&#039;s Fork/Join concurrency framework? Or will developers continue to move to other languages that are more suited for these features like Scala, Groovy, etc.&lt;br /&gt;
&lt;br /&gt;
Assuming Neil&#039;s closures proposal wins out and I think it looks likely because James Gosling pretty much stated as such, pointing out how it should have been all or nothing in the first place (with regard to anonymous classes), will the ugly static types in the closures syntax scare off developers? Alex points out in a follow up comment that it is best described&amp;nbsp; by Josh Bloch&#039;s JavaPolis presentation this past week:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&#034;http://www.javac.info/bloch-closures-controversy.ppt&#034;&gt; http://www.javac.info/bloch-closures-controversy.ppt&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Update: Neal responds to Joshua&#039;s criticism: &lt;/em&gt;&lt;a href=&#034;http://gafter.blogspot.com/2007/12/what-flavor-of-closures.html&#034;&gt;http://gafter.blogspot.com/2007/12/what-flavor-of-closures.html&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;a href=&#034;http://javanotebook.com/2007/12/15/aop_vs_java_7s_closures_extension_methods_type_inference.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <comments>http://javanotebook.com/2007/12/15/aop_vs_java_7s_closures_extension_methods_type_inference.html#comments</comments>
    <guid isPermaLink="true">http://javanotebook.com/2007/12/15/aop_vs_java_7s_closures_extension_methods_type_inference.html</guid>
    <pubDate>Fri, 14 Dec 2007 21:17:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
