<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 03:28:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: The state of functional programming in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9253</guid>
      <link>http://www.phpdeveloper.org/news/9253</link>
      <description><![CDATA[<p>
On the SitePoint PHP Blog today, <i>Troels Knak-Nielsen</i> has <a href="http://www.sitepoint.com/blogs/2007/12/15/the-state-of-functional-programming-in-php/">written up a post</a> concerning the current state of <a href="http://lambda-the-ultimate.org/node/2539">functional programming</a> in PHP.
</p>
<blockquote>
With the rise of Javascript, and languages like Python and Ruby, <a href="http://lambda-the-ultimate.org/node/2539">functional programming</a> is becoming more mainstream. Even Java seems to be <a href="http://rickyclarkson.blogspot.com/2007/11/java-7-example-writing-your-own-foreach.html">getting closures</a> in the next version, so does this leave PHP lacking behind or is there an unrealized potential hidden within?
</blockquote>
<p>
He looks at a few different aspects of functional programming and sees how well PHP fits into them (like dynamic dispatch, binding a variable to a function and an implementation of <a href="http://en.wikipedia.org/wiki/Currying">currying</a> for a function). This last option is the only "true" functional feature that PHP can realistically handle. 
</p>]]></description>
      <pubDate>Mon, 17 Dec 2007 10:28:00 -0600</pubDate>
    </item>
  </channel>
</rss>
