The Passionate Craftsman

Ruby, PHP, MySql, Software engineering and more.

Wednesday, 8 July 2009

PHP 5.3

PHP 5.3 has been released the 30 of June. I made a post about the infamous GOTO statement, but there are some good news:

Clojures are available in many dynamic language, such as Groovy and Ruby. The problem is that we still have to use the function keywork - I hope that that unecessary keyword will disappear -. In few wors, a closure is a function with some code inside that can be assigned to a variable, then the code can be executed from the variable.

Namespaces are important to avoid name collisions and to create aliases. Any serious programming language should have namespaces, to organize the code and to use classes with the same name but in different packages. With namespaces, in the future, there will be less conflicts in libraries.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home