<?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: Function Calling vs Message Sending</title>
	<atom:link href="http://www.blackbagops.net/2006/08/24/function-calling-vs-message-sending/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blackbagops.net/2006/08/24/function-calling-vs-message-sending/</link>
	<description>Weapons and Intelligence in the War Against "Them"</description>
	<lastBuildDate>Fri, 22 Dec 2006 11:38:23 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Black Bag Operations Network &#187; Blog Archive &#187; Closures for Java?</title>
		<link>http://www.blackbagops.net/2006/08/24/function-calling-vs-message-sending/comment-page-1/#comment-285</link>
		<dc:creator>Black Bag Operations Network &#187; Blog Archive &#187; Closures for Java?</dc:creator>
		<pubDate>Wed, 13 Sep 2006 01:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackbagops.net/?p=70#comment-285</guid>
		<description>[...] Black Bag Operations Network Weapons and Intelligence in the War Against &#8220;Them&#8221;      &#171; Function Calling vs Message Sending BadPage.info moved to BadPage.net &#187; [...]</description>
		<content:encoded><![CDATA[<p>[...] Black Bag Operations Network Weapons and Intelligence in the War Against &#8220;Them&#8221;      &laquo; Function Calling vs Message Sending BadPage.info moved to BadPage.net &raquo; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todd</title>
		<link>http://www.blackbagops.net/2006/08/24/function-calling-vs-message-sending/comment-page-1/#comment-203</link>
		<dc:creator>todd</dc:creator>
		<pubDate>Mon, 28 Aug 2006 22:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackbagops.net/?p=70#comment-203</guid>
		<description>&gt;Actually, itâ€™s not even compileable, because the compiler can prove that a B cannot be an A.

You&#039;ve missed the point of the example I think.

In this case, yes the compiler can tell - but separate the initialization (in a function returning Object for instance) and the point is, the compiler will happily build the program because myB *could* be an A.</description>
		<content:encoded><![CDATA[<p>>Actually, itâ€™s not even compileable, because the compiler can prove that a B cannot be an A.</p>
<p>You&#8217;ve missed the point of the example I think.</p>
<p>In this case, yes the compiler can tell &#8211; but separate the initialization (in a function returning Object for instance) and the point is, the compiler will happily build the program because myB *could* be an A.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron Purdy</title>
		<link>http://www.blackbagops.net/2006/08/24/function-calling-vs-message-sending/comment-page-1/#comment-201</link>
		<dc:creator>Cameron Purdy</dc:creator>
		<pubDate>Mon, 28 Aug 2006 02:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackbagops.net/?p=70#comment-201</guid>
		<description>&gt; ((A)myB).doAThing(); // error - object is not an A!

Actually, it&#039;s not even compileable, because the compiler can prove that a B cannot be an A.</description>
		<content:encoded><![CDATA[<p>&gt; ((A)myB).doAThing(); // error &#8211; object is not an A!</p>
<p>Actually, it&#8217;s not even compileable, because the compiler can prove that a B cannot be an A.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leandro</title>
		<link>http://www.blackbagops.net/2006/08/24/function-calling-vs-message-sending/comment-page-1/#comment-197</link>
		<dc:creator>Leandro</dc:creator>
		<pubDate>Sat, 26 Aug 2006 23:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackbagops.net/?p=70#comment-197</guid>
		<description>&quot;This is a huge step up from the C++ behavior of crashing&quot;
This is wrong. C++ has dynamic_cast, which will throw an exception (for references) or return NULL (for pointers) if the object can&#039;t be cast to the provided type. Java&#039;s &quot;huge step&quot; isn&#039;t that huge afterall.</description>
		<content:encoded><![CDATA[<p>&#8220;This is a huge step up from the C++ behavior of crashing&#8221;<br />
This is wrong. C++ has dynamic_cast, which will throw an exception (for references) or return NULL (for pointers) if the object can&#8217;t be cast to the provided type. Java&#8217;s &#8220;huge step&#8221; isn&#8217;t that huge afterall.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

