News Feed
Sections




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

Michael Kimsal's Blog:
Me griping about PHP ) (closures this time)
December 22, 2008 @ 10:24:25

Michael Kimsal has posted a few thoughts on one of the features of the upcoming PHP 5.3 - closures.

I first got acquainted with closures in Groovy last year, and love them. They make sense. The syntax is pretty easy, and feels natural in the language. Not so in PHP. Once again, inconsistencies are not just legacy issues in PHP - they are created anew for us to deal with for years to come.

He suggests that a different keyword (maybe, say "closure") to delineate between a normal function definitions and closures, especially when dealing with the Reflection API.

0 comments voice your opinion now!
closure gripe reflection anonymous function


blog comments powered by Disqus

Similar Posts

Vinu Thomas' Blog: PHP functions in Javascript using PHP.JS

Philip Olson's Blog: 20 possible reasons why PHP function names and parameters are weird

Brian DeShong's Blog: Small news that's big to me: my PHP Testfest submissions made it into 5_3!

I/O Reader: 15 Cool Things & 12 Things to Dislike About PHP

Chris Tankersley's Blog: Getting Started with Reflection


Community Events

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


community wordpress introduction laravel5 api framework series voicesoftheelephpant library laravel podcast extension language example version opinion release interview php7 unittest

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