<?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: Think twice before declaring a Java method as final</title>
	<atom:link href="http://flexblog.faratasystems.com/2010/06/07/think-twice-before-declaring-a-java-methods-as-final/feed" rel="self" type="application/rss+xml" />
	<link>http://flexblog.faratasystems.com/2010/06/07/think-twice-before-declaring-a-java-methods-as-final</link>
	<description>A blog about our experience with Adobe Flex</description>
	<lastBuildDate>Tue, 31 Jan 2012 19:52:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Valery Silaev</title>
		<link>http://flexblog.faratasystems.com/2010/06/07/think-twice-before-declaring-a-java-methods-as-final/comment-page-1#comment-73553</link>
		<dc:creator>Valery Silaev</dc:creator>
		<pubDate>Tue, 08 Jun 2010 20:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=842#comment-73553</guid>
		<description>Then I&#039;m third.  :)
&quot;Final&quot; and &quot;Private&quot; should be used with extreme care by library developers. &quot;Monkey patch&quot; http://en.wikipedia.org/wiki/Monkey_patch is an option of last resort when extending library code, but, unfortunately, I have to resort recently to this option way too often when extending Flex components. The only excuse for this restrictive final/private usage is security considerations or rare strict runtime semantic (think of Number subclasses or String in Java). The &quot;code hiding&quot; option is used inappropriately by majority of library developers --  and this violates the whole purpose of libraries created. Libraries should be developed for reuse and extension, not for restrictions.</description>
		<content:encoded><![CDATA[<p>Then I&#8217;m third.  <img src='http://flexblog.faratasystems.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
&#8220;Final&#8221; and &#8220;Private&#8221; should be used with extreme care by library developers. &#8220;Monkey patch&#8221; <a href="http://en.wikipedia.org/wiki/Monkey_patch" rel="nofollow">http://en.wikipedia.org/wiki/Monkey_patch</a> is an option of last resort when extending library code, but, unfortunately, I have to resort recently to this option way too often when extending Flex components. The only excuse for this restrictive final/private usage is security considerations or rare strict runtime semantic (think of Number subclasses or String in Java). The &#8220;code hiding&#8221; option is used inappropriately by majority of library developers &#8212;  and this violates the whole purpose of libraries created. Libraries should be developed for reuse and extension, not for restrictions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco Bongiovanni</title>
		<link>http://flexblog.faratasystems.com/2010/06/07/think-twice-before-declaring-a-java-methods-as-final/comment-page-1#comment-73483</link>
		<dc:creator>Francesco Bongiovanni</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=842#comment-73483</guid>
		<description>I&#039;ll second that :P I had to extend a particular software (OpenChord) only to find out that all the classes I had to extend were all final...and yes...i literally cursed the authors :P (just kiddin&#039;, but it would have been nice to think about people reusing their stuff)</description>
		<content:encoded><![CDATA[<p>I&#8217;ll second that <img src='http://flexblog.faratasystems.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  I had to extend a particular software (OpenChord) only to find out that all the classes I had to extend were all final&#8230;and yes&#8230;i literally cursed the authors <img src='http://flexblog.faratasystems.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  (just kiddin&#8217;, but it would have been nice to think about people reusing their stuff)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

