Namespaces em PHP

WTF ?!?!!?!?

Uma barra ?!? BARRA ?!?

PHP Gets Namespace Separators, With a Twist

jeevesbond writes “PHP finally is finally getting support for namespaces. However, after a couple hours of conversation, the developers picked ‘\’ as the separator, instead of the more popular ‘::’. Fredrik Holmstrm points out some problems with this approach. The criteria for selection were ease of typing and parsing, how hard it was to make a typo, IDE compatibility, and the number of characters.”

Popularity: 80% [?]

PHP: Object Aggregation/Composition

Para quem programa em PHP, vale a pena dar uma espreitadela nesta extensão: Object Aggregation. Eu não conhecia; para mim, no PHP só existia herança e composição por associação.
Esta extensão ainda é experimental.

E já agora, também achei interessante a extensão Object Overloading (mas aqui tenho algumas reservas…).

Boas brincadeiras!

Popularity: 4% [?]