PDA

View Full Version : PHP Gets Namespace Separators, With a Twist


sl4shd0t
10-27-2008, 08:28 AM
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."http://developers.slashdot.org/slashdot-it.pl?from=rss&op=image&style=h0&sid=08/10/26/1610259 (http://developers.slashdot.org/article.pl?sid=08/10/26/1610259&from=rss)
Read more of this story (http://developers.slashdot.org/article.pl?sid=08/10/26/1610259&from=rss) at Slashdot.
http://feedads.googleadservices.com/~a/urDC6f16K80r5Y7E0UVTTvapt7k/i</img> (http://feedads.googleadservices.com/~a/urDC6f16K80r5Y7E0UVTTvapt7k/a)
http://feedproxy.google.com/~r/Slashdot/slashdotDevelopers/~4/wlrUe-X8rzk

More... (http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~3/wlrUe-X8rzk/article.pl)