Wednesday, March 25, 2009

PHP 5.3 Features To Watch

I don't usually get too excited about PHP as a programming language - but check out these two additions to PHP 5.3: anonymous functions and namespaces.

These are two features that are sorely needed, as they should to avoid code filled with absurdly long function names and throw away functions.

This is still a long way from the lexically scoped elegance of JavaScript or Scheme, but it's a start.

Of course, I have to wait for my clients hosting providers to deploy PHP 5.3 before I can start programming against it. Not sure how long that will be, but I assume it'll be some time.

Still, it's nice to see PHP making at least a little linguistic progress.

No comments:

Post a Comment