<?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: My latest Scala-inspired Javascript library: pf.js</title>
	<atom:link href="http://www.bubblefoundry.com/blog/2010/02/my-latest-scala-inspired-javascript-library-pf-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bubblefoundry.com/blog/2010/02/my-latest-scala-inspired-javascript-library-pf-js/</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 15:00:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Peter</title>
		<link>http://www.bubblefoundry.com/blog/2010/02/my-latest-scala-inspired-javascript-library-pf-js/comment-page-1/#comment-8864</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 07 Dec 2010 09:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bubblefoundry.com/?p=313#comment-8864</guid>
		<description>I stand corrected.</description>
		<content:encoded><![CDATA[<p>I stand corrected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jb</title>
		<link>http://www.bubblefoundry.com/blog/2010/02/my-latest-scala-inspired-javascript-library-pf-js/comment-page-1/#comment-8862</link>
		<dc:creator>jb</dc:creator>
		<pubDate>Tue, 07 Dec 2010 07:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.bubblefoundry.com/?p=313#comment-8862</guid>
		<description>&quot;more mathematically-inclined programmers make a distinction between functions and methods based on between you are guaranteed a return value&quot;

Only those who confuse methods with procedures or subroutines and don&#039;t grasp the basic attribute of methods: &quot;In object-oriented programming, a method is a subroutine that is exclusively associated either with a class (in which case it is called a class method or a static method) or with an object (in which case it is an instance method).&quot; [Wikipedia]

&quot;However, regardless of whether you include return statements in a function, something is actually returned, undefined being returned if you hadn’t specified a return value.&quot;

Perl does the same; Scala returns the value of the last statement, which often is ():Unit. There&#039;s nothing at all &quot;funny&quot; about Javascript&#039;s functions vis-a-vis any other expression-oriented language.

&quot;PartialFunctions are cool&quot;

All PartialFunction does is provide an interface (trait) for argument checking of functions with one argument.</description>
		<content:encoded><![CDATA[<p>&#8220;more mathematically-inclined programmers make a distinction between functions and methods based on between you are guaranteed a return value&#8221;</p>
<p>Only those who confuse methods with procedures or subroutines and don&#8217;t grasp the basic attribute of methods: &#8220;In object-oriented programming, a method is a subroutine that is exclusively associated either with a class (in which case it is called a class method or a static method) or with an object (in which case it is an instance method).&#8221; [Wikipedia]</p>
<p>&#8220;However, regardless of whether you include return statements in a function, something is actually returned, undefined being returned if you hadn’t specified a return value.&#8221;</p>
<p>Perl does the same; Scala returns the value of the last statement, which often is ():Unit. There&#8217;s nothing at all &#8220;funny&#8221; about Javascript&#8217;s functions vis-a-vis any other expression-oriented language.</p>
<p>&#8220;PartialFunctions are cool&#8221;</p>
<p>All PartialFunction does is provide an interface (trait) for argument checking of functions with one argument.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

