News Feed
Jobs Feed
Sections




News Archive
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

AnyExample.com: 5 useful PHP functions for MySQL data fetching

Internet Super Hero: PHP: mysqli_fetch_all()

Juozas Kaziukenas' Blog: Lambda functions are coming to PHP

Shaun Oleson's Blog: Authorize.NET and PHP

Mikko Koppanen's Blog: Creating a reflection


Community Events











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


usergroup zendframework2 language release community introduction functional unittest opinion conference database interview testing framework development phpunit rest series symfony2 podcast

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