Slashdot Mirror


PHP Gets Namespace Separators, With a Twist

jeevesbond writes "PHP 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 Holmström 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."

1 of 523 comments (clear)

  1. what wrong with by netdur · · Score: 0, Offtopic

    dot?

    php now is anti-slash dot?

    --
    "Steve Jobs invented the world" -- Bill W. GATES