<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">
<channel>
	<title>Comments for JPz'log</title>
	
	<link>http://jpz-log.info</link>
	<description>Coin Coin and Plop da Plop</description>
	<pubDate>Fri, 10 Jul 2009 22:51:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/JPzlog-comments" type="application/rss+xml" /><item>
		<title>Comment on Changer le disque dur d’un MacBook 13″ Unibody by caudron714</title>
		<link>http://jpz-log.info/archives/2009/03/02/changer-le-disque-dur-dun-macbook-13-unibody/comment-page-1/#comment-4276</link>
		<dc:creator>caudron714</dc:creator>
		<pubDate>Fri, 08 May 2009 12:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=489#comment-4276</guid>
		<description>Il semble que ce soit un câble au fond du logement qui empêche le dd de s'emboîter. Pffff</description>
		<content:encoded><![CDATA[<p>Il semble que ce soit un câble au fond du logement qui empêche le dd de s&#8217;emboîter. Pffff</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Changer le disque dur d’un MacBook 13″ Unibody by caudron714</title>
		<link>http://jpz-log.info/archives/2009/03/02/changer-le-disque-dur-dun-macbook-13-unibody/comment-page-1/#comment-4275</link>
		<dc:creator>caudron714</dc:creator>
		<pubDate>Fri, 08 May 2009 11:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=489#comment-4275</guid>
		<description>oui, c'est bien un 2.5. Il rentre dans l'emplacement sans problème. Mais après, il faut forcer pour réussir à fermer et c'est ce que je ne souhaite pas faire. Je préfèrerais entedre un clic harmonieux...</description>
		<content:encoded><![CDATA[<p>oui, c&#8217;est bien un 2.5. Il rentre dans l&#8217;emplacement sans problème. Mais après, il faut forcer pour réussir à fermer et c&#8217;est ce que je ne souhaite pas faire. Je préfèrerais entedre un clic harmonieux&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Changer le disque dur d’un MacBook 13″ Unibody by jponge</title>
		<link>http://jpz-log.info/archives/2009/03/02/changer-le-disque-dur-dun-macbook-13-unibody/comment-page-1/#comment-4268</link>
		<dc:creator>jponge</dc:creator>
		<pubDate>Thu, 07 May 2009 08:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=489#comment-4268</guid>
		<description>On voit la languette sur la première et deuxième photo. Elle sert à retirer le disque, mais il s'enlève très bien sans. Si le disque ne rentre pas dans l'emplacement ... est-ce bien un 2.5" ?</description>
		<content:encoded><![CDATA[<p>On voit la languette sur la première et deuxième photo. Elle sert à retirer le disque, mais il s&#8217;enlève très bien sans. Si le disque ne rentre pas dans l&#8217;emplacement &#8230; est-ce bien un 2.5&#8243; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Changer le disque dur d’un MacBook 13″ Unibody by caudron714</title>
		<link>http://jpz-log.info/archives/2009/03/02/changer-le-disque-dur-dun-macbook-13-unibody/comment-page-1/#comment-4266</link>
		<dc:creator>caudron714</dc:creator>
		<pubDate>Wed, 06 May 2009 22:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=489#comment-4266</guid>
		<description>Bonjour,

Changement de DD après mort cérébrale du DD d'origine. Modèle du nouveau WD de 500 GB. Ai suivi les tutorials mais impossible de remettre le nouveau disque dans le logement après avoir démonté et remonté sur son support. Crainte de tout abîmer...et que sont les languettes dont parlent certains ? Je ne vois que la languette blanche du compartiment du DD. Merci à tous</description>
		<content:encoded><![CDATA[<p>Bonjour,</p>
<p>Changement de DD après mort cérébrale du DD d&#8217;origine. Modèle du nouveau WD de 500 GB. Ai suivi les tutorials mais impossible de remettre le nouveau disque dans le logement après avoir démonté et remonté sur son support. Crainte de tout abîmer&#8230;et que sont les languettes dont parlent certains ? Je ne vois que la languette blanche du compartiment du DD. Merci à tous</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Changer le disque dur d’un MacBook 13″ Unibody by onlyrider</title>
		<link>http://jpz-log.info/archives/2009/03/02/changer-le-disque-dur-dun-macbook-13-unibody/comment-page-1/#comment-4250</link>
		<dc:creator>onlyrider</dc:creator>
		<pubDate>Fri, 17 Apr 2009 12:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=489#comment-4250</guid>
		<description>Mieux, on appelle cela des Tournevis Torx. Mais n'ayant ni ça sous la main ni ton merveilleux outil de serrage par l'extérieur, je me retrouve un peu coincé...</description>
		<content:encoded><![CDATA[<p>Mieux, on appelle cela des Tournevis Torx. Mais n&#8217;ayant ni ça sous la main ni ton merveilleux outil de serrage par l&#8217;extérieur, je me retrouve un peu coincé&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DecoratorInjector in Python by Yannick by Yannick</title>
		<link>http://jpz-log.info/archives/2009/03/31/decoratorinjector-in-python-by-yannick/comment-page-1/#comment-4225</link>
		<dc:creator>Yannick</dc:creator>
		<pubDate>Wed, 01 Apr 2009 05:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=531#comment-4225</guid>
		<description>Thanks for the buzz :)</description>
		<content:encoded><![CDATA[<p>Thanks for the buzz <img src='http://jpz-log.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Initialization blocks in Java by jponge</title>
		<link>http://jpz-log.info/archives/2009/03/25/initialization-blocks-in-java/comment-page-1/#comment-4080</link>
		<dc:creator>jponge</dc:creator>
		<pubDate>Thu, 26 Mar 2009 10:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=527#comment-4080</guid>
		<description>Thanks Laurent.</description>
		<content:encoded><![CDATA[<p>Thanks Laurent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Initialization blocks in Java by Laurent Simon</title>
		<link>http://jpz-log.info/archives/2009/03/25/initialization-blocks-in-java/comment-page-1/#comment-4065</link>
		<dc:creator>Laurent Simon</dc:creator>
		<pubDate>Thu, 26 Mar 2009 00:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=527#comment-4065</guid>
		<description>I use them often for clarity. I think that this code

class Foo  {

   private final Map numbers = new HashMap();
   {
	numbers.put( "one", 1 );
        numbers.put( "two", 2 );
	numbers.put( "three", 3 ); 
   }

   private final List days = new ArrayList( 7 );
   {
	days.put( "Sunday" );
        days.put( "Monday" );
        days.put( "Tuesday" );
	days.put( "Wednesday" );
	days.put( "Thursday" );
	days.put( "Friday" );
	days.put ( "Saturday" );
   }

}

is more readable than a cluttered constructor like that:

class Foo {

   private final Map numbers = new HashMap();

   private final List days = new ArrayList();

  public Example() {

	numbers.put( "one", 1 );
        numbers.put( "two", 2 );
	numbers.put( "three", 3 );

	days.put( "Sunday" );
        days.put( "Monday" );
        days.put( "Tuesday" );
	days.put( "Wednesday" );
	days.put( "Thursday" );
	days.put( "Friday" );
	days.put ( "Saturday" );
 
  }

}

This is also an elegant way to share common initialization code between multiple constructors when they cannot call each other.

Apart this, and for anonymous classes initialization like in your example, I do not see any other added value.

Using initialization blocks, is exactly the same thing than putting the corresponding code at the begining of the constructor (the compiler generates a copy of corresponding bytecode at this place).</description>
		<content:encoded><![CDATA[<p>I use them often for clarity. I think that this code</p>
<p>class Foo  {</p>
<p>   private final Map numbers = new HashMap();<br />
   {<br />
	numbers.put( &#8220;one&#8221;, 1 );<br />
        numbers.put( &#8220;two&#8221;, 2 );<br />
	numbers.put( &#8220;three&#8221;, 3 );<br />
   }</p>
<p>   private final List days = new ArrayList( 7 );<br />
   {<br />
	days.put( &#8220;Sunday&#8221; );<br />
        days.put( &#8220;Monday&#8221; );<br />
        days.put( &#8220;Tuesday&#8221; );<br />
	days.put( &#8220;Wednesday&#8221; );<br />
	days.put( &#8220;Thursday&#8221; );<br />
	days.put( &#8220;Friday&#8221; );<br />
	days.put ( &#8220;Saturday&#8221; );<br />
   }</p>
<p>}</p>
<p>is more readable than a cluttered constructor like that:</p>
<p>class Foo {</p>
<p>   private final Map numbers = new HashMap();</p>
<p>   private final List days = new ArrayList();</p>
<p>  public Example() {</p>
<p>	numbers.put( &#8220;one&#8221;, 1 );<br />
        numbers.put( &#8220;two&#8221;, 2 );<br />
	numbers.put( &#8220;three&#8221;, 3 );</p>
<p>	days.put( &#8220;Sunday&#8221; );<br />
        days.put( &#8220;Monday&#8221; );<br />
        days.put( &#8220;Tuesday&#8221; );<br />
	days.put( &#8220;Wednesday&#8221; );<br />
	days.put( &#8220;Thursday&#8221; );<br />
	days.put( &#8220;Friday&#8221; );<br />
	days.put ( &#8220;Saturday&#8221; );</p>
<p>  }</p>
<p>}</p>
<p>This is also an elegant way to share common initialization code between multiple constructors when they cannot call each other.</p>
<p>Apart this, and for anonymous classes initialization like in your example, I do not see any other added value.</p>
<p>Using initialization blocks, is exactly the same thing than putting the corresponding code at the begining of the constructor (the compiler generates a copy of corresponding bytecode at this place).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PhD defense slides by Recent Links Tagged With "slideshare" - JabberTags</title>
		<link>http://jpz-log.info/archives/2008/08/21/phd-defense-slides/comment-page-1/#comment-3934</link>
		<dc:creator>Recent Links Tagged With "slideshare" - JabberTags</dc:creator>
		<pubDate>Sun, 22 Mar 2009 23:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=238#comment-3934</guid>
		<description>[...] by HigukaLeonhart on Fri 20-3-2009   Health 2.0 on slideshow Saved by sirengarg on Wed 18-3-2009   PhD defense slides Saved by ultrassruler on Fri 13-3-2009   Lorelle on WP: Lorelle at WordCamp 2008 - 260 Ways to [...]</description>
		<content:encoded><![CDATA[<p>[...] by HigukaLeonhart on Fri 20-3-2009   Health 2.0 on slideshow Saved by sirengarg on Wed 18-3-2009   PhD defense slides Saved by ultrassruler on Fri 13-3-2009   Lorelle on WP: Lorelle at WordCamp 2008 - 260 Ways to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Java 6 VM must be magic by Yannick</title>
		<link>http://jpz-log.info/archives/2009/03/09/the-java-6-vm-must-be-magic/comment-page-1/#comment-3655</link>
		<dc:creator>Yannick</dc:creator>
		<pubDate>Tue, 10 Mar 2009 07:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://jpz-log.info/?p=503#comment-3655</guid>
		<description>"premature optimization is the root of all evil." -- D. Knuth
:)

There actually seems to be a caching behaviour under the hood, just like
integers if I'm right. Well, more like reusing unused instances instead of gc
them and re instantiate, as you suggested. But as you know, I'm not a Java
expert ;)</description>
		<content:encoded><![CDATA[<p>&#8220;premature optimization is the root of all evil.&#8221; &#8212; D. Knuth<br />
 <img src='http://jpz-log.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There actually seems to be a caching behaviour under the hood, just like<br />
integers if I&#8217;m right. Well, more like reusing unused instances instead of gc<br />
them and re instantiate, as you suggested. But as you know, I&#8217;m not a Java<br />
expert <img src='http://jpz-log.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
