<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Strainu onLine &#187; Functional Programming</title>
	<atom:link href="http://www.strainu.ro/category/programming/functional-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strainu.ro</link>
	<description>Blogul unui automatist</description>
	<lastBuildDate>Fri, 28 Oct 2011 15:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Call by sharing</title>
		<link>http://www.strainu.ro/programming/java/call-by-sharing/</link>
		<comments>http://www.strainu.ro/programming/java/call-by-sharing/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 17:23:26 +0000</pubDate>
		<dc:creator>Strainu</dc:creator>
				<category><![CDATA[Functional Programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.strainu.ro/personal/call-by-sharing/</guid>
		<description><![CDATA[In a previous article, I was saying trying to convince you that Java passes its parameters by value. Although this is the most widely-spread name for the action of passing references to objects, some experts have a different opinion. They name this parameter-passing technique &#8220;call by object&#8221; or &#8220;call by sharing&#8220;. The only programming language [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://codertricks.strainu.ro/java/2007/05/02/why-java-sends-parameters-by-value/" target="_blank">previous article</a>, I was <strike>saying</strike> trying to convince you that Java passes its parameters by value. Although this is the most widely-spread name for the action of passing references to objects, some experts have a different opinion. They name this parameter-passing technique &#8220;<a href="http://effbot.org/zone/call-by-object.htm" target="_blank">call by object</a>&#8221; or &#8220;<a href="http://cs.pub.ro/~pf/Curs/Lecture04.pdf" target="_blank">call by sharing</a>&#8220;.</p>
<p>The only programming language that openly uses that name is <a href="http://www.cacs.louisiana.edu/~mgr/404/burks/foldoc/72/20.htm" target="_blank">CLU</a>, however one must note that languages like LISP, Scheme, Python or Java use the same technique. You can find a short study on the subject <a href="http://mail.python.org/pipermail/python-list/2000-July/046027.html  " target="_blank">in the python mailing list archives</a>.</p>
<div class='sociable'><div><span class='sociable-tagline'><strong>Share and Enjoy:</strong></span></div><ul><li><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.strainu.ro%2Fprogramming%2Fjava%2Fcall-by-sharing%2F&amp;t=Call%20by%20sharing" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a></li><li><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=Call%20by%20sharing%20-%20http%3A%2F%2Fwww.strainu.ro%2Fprogramming%2Fjava%2Fcall-by-sharing%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a></li><li><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.strainu.ro%2Fprogramming%2Fjava%2Fcall-by-sharing%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a></li><li><a rel="nofollow" target="_blank"  href="mailto:?subject=Call%20by%20sharing&amp;body=http%3A%2F%2Fwww.strainu.ro%2Fprogramming%2Fjava%2Fcall-by-sharing%2F" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/email_link.png" class="sociable-img sociable-hovers" title="email" alt="email" /></a></li><li><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a></li><li><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.strainu.ro%2Fprogramming%2Fjava%2Fcall-by-sharing%2F&amp;title=Call%20by%20sharing&amp;bodytext=In%20a%20previous%20article%2C%20I%20was%20saying%20trying%20to%20convince%20you%20that%20Java%20passes%20its%20parameters%20by%20value.%20Although%20this%20is%20the%20most%20widely-spread%20name%20for%20the%20action%20of%20passing%20references%20to%20objects%2C%20some%20experts%20have%20a%20different%20opinion.%20They%20name%20this%20p" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a></li><li><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.strainu.ro%2Fprogramming%2Fjava%2Fcall-by-sharing%2F&amp;title=Call%20by%20sharing" ><img src="http://www.strainu.ro/site/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.strainu.ro/programming/java/call-by-sharing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

