News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Functional Programming and PHP
February 26, 2013 @ 09:43:42

On PHPMaster.com today there's a new tutorial written up by Shameer C looking at functional programming with PHP - some of the basic concepts of it and how much is possible in the language.

Many programmer like to talk about functional programming, but if you ask them if they've ever done it, most of their replies will be "No". The reason is quite simple: we are taught to think in an imperative manner when we first start learning to program, in terms of flow charts and steps to be followed in the program. So in this article I'll explain some important concepts to functional programming and how to write functional code in PHP.

He starts by defining some of the basic fundamental concepts of functional programming including recursion, referential transparency, higher order functions and lambda functions. He includes a bit of code along the way, showing things a bit more practically.

0 comments voice your opinion now!
functional programming tutorial introduction concepts fundamentals


blog comments powered by Disqus

Similar Posts

Juan Terminio's Blog: Setting Up a Debian VM, Step by Step

Padraic Brady's Blog: Nanosecond Scale Remote Timing Attacks On PHP Apps: Take Them Seriously?

CodeSnipers.com: Book review: Beginning Ajax with PHP by Lee Babin

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern

NETTUTS.com: Building a 5 Star Rating System with jQuery, AJAX and PHP


Community Events





Don't see your event here?
Let us know!


laravel list release threedevsandamaybe community code application podcast framework language series tips interview api deployment introduction developer development zendserver conference

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework