+—————————–

—————————————+
| PHP Gets Namespace Separators, With a Twist                        |
|   from the or-maybe-more-of-a-slant dept.                          |
|   posted by Soulskill on Sunday October 26, @13:01 (PHP)           |
|   http://developers.slashdot.org/article.pl?sid=08/10/26/1610259 |
+——————————————————————–+

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

Discuss this story at:
http://developers.slashdot.org/comments.pl?sid=08/10/26/1610259

Links:
0. http://www.webmaster-forums.net/
1. http://wiki.php.net/_media/rfc/php.ns.txt?id=rfc%3Anamespaceseparator&cache=cache
2. http://news.php.net/php.internals/41374
3. http://loveandtheft.org/2008/10/26/set-sail-for-fail-php-namespaces/
4. http://wiki.php.net/rfc/namespaceseparator

Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. You can also share this post with your friends by clicking on the 'ShareThis' button above. Thanks for visiting!



Print This Post Print This Post





  • Related Posts



  • Leave a Reply