<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: My five (well four and one-half) issues with namespaces</title>
	<atom:link href="http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/feed/" rel="self" type="application/rss+xml" />
	<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/</link>
	<description>Night is darkest just before the dawn...</description>
	<lastBuildDate>Wed, 24 Feb 2010 10:50:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: My five (well four and one half) issues with... [ Planet PHP ]</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-72031</link>
		<dc:creator>My five (well four and one half) issues with... [ Planet PHP ]</dc:creator>
		<pubDate>Thu, 11 Sep 2008 09:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-72031</guid>
		<description>[...] 9th 2008 9:28am  [-] From: elizabethmariesmith.com  [...]</description>
		<content:encoded><![CDATA[<p>[...] 9th 2008 9:28am  [-] From: elizabethmariesmith.com  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-71959</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 09 Sep 2008 23:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-71959</guid>
		<description>The way I see it, PHP 6 is going to be the end of PHP. A couple of weeks ago Rasmus said: 

1. Rasmus: &quot;Tell me where the Web is going, and I&#039;ll tell you what the future of PHP is&quot;.

I can only tell you that web applications are getting more an more complex, and PHP is getting slower (unless you create a &quot;hello world&quot; application).

2. Rasmus: &quot;PHP is only useful for the presentation layer&quot;. 

So, in other words, it&#039;s useless? Considering that Python and other scripting languages can do the same, and much more.

3. Rasmus: &quot;Facebook and Yahoo don&#039;t scale because they use PHP, they scale because they use C++&quot;.

Interesting. Is that why big companies are using python and java, including Yahoo?

4. Rasmus: &quot;PHP frameworks are ridiculous slow&quot;.

Thanks for the tip Rasmus. I guess that&#039;s why everyone is using Django nowadays, right? It&#039;s much faster than all the PHP framework together. 

5. Rasmus: &quot;I don&#039;t like frameworks&quot;

Low-level programmers don&#039;t like frameworks, but web developers do, and they need them. 

6. Rasmus: &quot;The front-controller pattern goes against the web architecture&quot;

Yeah right, that&#039;s why Rails and Django are becoming so popular right? Come on man, put yourself together and start supporting PHP developers. You are killing the language!

And there&#039;s more, see it for yourself:
http://www.archive.org/details/simple_is_hard</description>
		<content:encoded><![CDATA[<p>The way I see it, PHP 6 is going to be the end of PHP. A couple of weeks ago Rasmus said: </p>
<p>1. Rasmus: &#8220;Tell me where the Web is going, and I&#8217;ll tell you what the future of PHP is&#8221;.</p>
<p>I can only tell you that web applications are getting more an more complex, and PHP is getting slower (unless you create a &#8220;hello world&#8221; application).</p>
<p>2. Rasmus: &#8220;PHP is only useful for the presentation layer&#8221;. </p>
<p>So, in other words, it&#8217;s useless? Considering that Python and other scripting languages can do the same, and much more.</p>
<p>3. Rasmus: &#8220;Facebook and Yahoo don&#8217;t scale because they use PHP, they scale because they use C++&#8221;.</p>
<p>Interesting. Is that why big companies are using python and java, including Yahoo?</p>
<p>4. Rasmus: &#8220;PHP frameworks are ridiculous slow&#8221;.</p>
<p>Thanks for the tip Rasmus. I guess that&#8217;s why everyone is using Django nowadays, right? It&#8217;s much faster than all the PHP framework together. </p>
<p>5. Rasmus: &#8220;I don&#8217;t like frameworks&#8221;</p>
<p>Low-level programmers don&#8217;t like frameworks, but web developers do, and they need them. </p>
<p>6. Rasmus: &#8220;The front-controller pattern goes against the web architecture&#8221;</p>
<p>Yeah right, that&#8217;s why Rails and Django are becoming so popular right? Come on man, put yourself together and start supporting PHP developers. You are killing the language!</p>
<p>And there&#8217;s more, see it for yourself:<br />
<a href="http://www.archive.org/details/simple_is_hard" rel="nofollow">http://www.archive.org/details/simple_is_hard</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Turland</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-71890</link>
		<dc:creator>Matthew Turland</dc:creator>
		<pubDate>Tue, 09 Sep 2008 13:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-71890</guid>
		<description>I agree on #1 and think that would remove ambiguity both in the use and implementation of namespaces and might address #2 as well. If we can have stuff before class declarations, we should be able to have it before namespaces as well. In all the muss and fuss about them, I think some people may have lost sight of why they were brought up in the first place: so we don&#039;t have Some_Incredibly_Long_Class_Name_Like_This. I know it&#039;s more complex from an internals point of view, but from a user point of view, it&#039;s syntactic sugar for the sake of convenience and making code cleaner. That&#039;s all. Full agreement on all other points, though. Sounds like there are at least a few people on your side. Just my two cents. ;)</description>
		<content:encoded><![CDATA[<p>I agree on #1 and think that would remove ambiguity both in the use and implementation of namespaces and might address #2 as well. If we can have stuff before class declarations, we should be able to have it before namespaces as well. In all the muss and fuss about them, I think some people may have lost sight of why they were brought up in the first place: so we don&#8217;t have Some_Incredibly_Long_Class_Name_Like_This. I know it&#8217;s more complex from an internals point of view, but from a user point of view, it&#8217;s syntactic sugar for the sake of convenience and making code cleaner. That&#8217;s all. Full agreement on all other points, though. Sounds like there are at least a few people on your side. Just my two cents. <img src='http://elizabethmariesmith.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: auroraeosrose</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-71882</link>
		<dc:creator>auroraeosrose</dc:creator>
		<pubDate>Tue, 09 Sep 2008 12:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-71882</guid>
		<description>Greg - as far as I can see #4 is the &quot;big issue&quot; - as you said the rest are pretty easy to fix, just things that SHOULD be fixed and not ignored</description>
		<content:encoded><![CDATA[<p>Greg &#8211; as far as I can see #4 is the &#8220;big issue&#8221; &#8211; as you said the rest are pretty easy to fix, just things that SHOULD be fixed and not ignored</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Beaver</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-71835</link>
		<dc:creator>Greg Beaver</dc:creator>
		<pubDate>Tue, 09 Sep 2008 05:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-71835</guid>
		<description>#3 and #5 may have fallen (they&#039;re related), just posted a patch that (God willing) Stas will like :).

I haven&#039;t thought much yet about #4.  All the other issues are easy to fix.  I&#039;m pretty confident that #4 may be the most difficult design issue I&#039;ve seen in PHP since I started.  Hopefully I&#039;m wrong.</description>
		<content:encoded><![CDATA[<p>#3 and #5 may have fallen (they&#8217;re related), just posted a patch that (God willing) Stas will like <img src='http://elizabethmariesmith.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>I haven&#8217;t thought much yet about #4.  All the other issues are easy to fix.  I&#8217;m pretty confident that #4 may be the most difficult design issue I&#8217;ve seen in PHP since I started.  Hopefully I&#8217;m wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herman Radtke</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-71834</link>
		<dc:creator>Herman Radtke</dc:creator>
		<pubDate>Tue, 09 Sep 2008 05:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-71834</guid>
		<description>I would like to import functions into the global namespace as well.  Something similar to pythons &quot;from module import *&quot; would be nice.  I can see a use for this in small utility scripts.

I agree with Joshua about the Foo:bar() syntax.  I thought it unneccisarily confusing in C++ as well.</description>
		<content:encoded><![CDATA[<p>I would like to import functions into the global namespace as well.  Something similar to pythons &#8220;from module import *&#8221; would be nice.  I can see a use for this in small utility scripts.</p>
<p>I agree with Joshua about the Foo:bar() syntax.  I thought it unneccisarily confusing in C++ as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/comment-page-1/#comment-71818</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Tue, 09 Sep 2008 00:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://elizabethmariesmith.com/2008/09/my-five-well-four-and-one-half-issues-with-namespaces/#comment-71818</guid>
		<description>The biggest issue to me is #4

1: function calls in a namespace looking like static method calls is not a matter of taste its a huge WTF
2: class with same name as namespace and static method hiding functions in namespace is a bug and should have a fix
3: I want to override built in php functions (maybe i want to fix a string function not covered by mbstring without auditing all my code)
4: I it would be nice to be able to alias over other userland functions if I want.  Maybe i&#039;m transitioning from one functional library to another etc

And an overall comment
To me namespaces are a solution to _ organization of code that lets me type less due to use aliasing.  I don&#039;t need namespaces to organize my code, I can prefix with long names easily enough as it is.  I need namespaces to organize my code without punishing end users of libraries with lots of typing.</description>
		<content:encoded><![CDATA[<p>The biggest issue to me is #4</p>
<p>1: function calls in a namespace looking like static method calls is not a matter of taste its a huge WTF<br />
2: class with same name as namespace and static method hiding functions in namespace is a bug and should have a fix<br />
3: I want to override built in php functions (maybe i want to fix a string function not covered by mbstring without auditing all my code)<br />
4: I it would be nice to be able to alias over other userland functions if I want.  Maybe i&#8217;m transitioning from one functional library to another etc</p>
<p>And an overall comment<br />
To me namespaces are a solution to _ organization of code that lets me type less due to use aliasing.  I don&#8217;t need namespaces to organize my code, I can prefix with long names easily enough as it is.  I need namespaces to organize my code without punishing end users of libraries with lots of typing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
