<?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: PHP &#8211; a bad programming language &#8211; Dark side of PHP</title>
	<atom:link href="http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Mon, 07 May 2012 21:11:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Hunter Dolan</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-6566</link>
		<dc:creator>Hunter Dolan</dc:creator>
		<pubDate>Thu, 30 Jun 2011 15:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-6566</guid>
		<description>Anyone else find it ironic that he is bashing PHP and yet his site is powered by Wordpress?  A PHP blogging system...</description>
		<content:encoded><![CDATA[<p>Anyone else find it ironic that he is bashing PHP and yet his site is powered by WordPress?  A PHP blogging system&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-6554</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 17 Jun 2011 19:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-6554</guid>
		<description>PHP can be a bitch, but I love it and it gets the job done.</description>
		<content:encoded><![CDATA[<p>PHP can be a bitch, but I love it and it gets the job done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Camel Case</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-6388</link>
		<dc:creator>Camel Case</dc:creator>
		<pubDate>Sat, 05 Feb 2011 10:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-6388</guid>
		<description>You sound like you know very little about software development. Perhaps you are self-taught, perhaps were trained in India. Whatever, it is because of folks like you who expound their ignorance that I can have a good laugh.</description>
		<content:encoded><![CDATA[<p>You sound like you know very little about software development. Perhaps you are self-taught, perhaps were trained in India. Whatever, it is because of folks like you who expound their ignorance that I can have a good laugh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clif</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-6354</link>
		<dc:creator>Clif</dc:creator>
		<pubDate>Sun, 30 Jan 2011 04:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-6354</guid>
		<description>I&#039;m not a fan of PHP, Thanks for your comments

Like JavaScript... I like weak typing, and dynamic objects, have no use of namespaces.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not a fan of PHP, Thanks for your comments</p>
<p>Like JavaScript&#8230; I like weak typing, and dynamic objects, have no use of namespaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: php programmer</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-5623</link>
		<dc:creator>php programmer</dc:creator>
		<pubDate>Sun, 05 Sep 2010 15:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-5623</guid>
		<description>Hey ARI

What was you value for: $a[&#039;crap&#039;];

Doesn&#039;t make any sense to me!</description>
		<content:encoded><![CDATA[<p>Hey ARI</p>
<p>What was you value for: $a['crap'];</p>
<p>Doesn&#8217;t make any sense to me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maath</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-5579</link>
		<dc:creator>maath</dc:creator>
		<pubDate>Sun, 08 Aug 2010 09:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-5579</guid>
		<description>Look at all the PHP fanbois.

PHP is great for people who don&#039;t want to learn programming. In 24 hours you can be a PHP Guru and unfortunately lots of people consider themselves &quot;developers&quot; because they have knowledge in PHP. The language is supported by hobbyist programmers and has a weak community. I hate the language, and refuse to use it, as it serves no purpose for a real programmer.</description>
		<content:encoded><![CDATA[<p>Look at all the PHP fanbois.</p>
<p>PHP is great for people who don&#8217;t want to learn programming. In 24 hours you can be a PHP Guru and unfortunately lots of people consider themselves &#8220;developers&#8221; because they have knowledge in PHP. The language is supported by hobbyist programmers and has a weak community. I hate the language, and refuse to use it, as it serves no purpose for a real programmer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-4910</link>
		<dc:creator>james</dc:creator>
		<pubDate>Tue, 15 Dec 2009 14:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-4910</guid>
		<description>Dont you ever use a spell check?</description>
		<content:encoded><![CDATA[<p>Dont you ever use a spell check?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manibalan</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-4292</link>
		<dc:creator>manibalan</dc:creator>
		<pubDate>Wed, 29 Jul 2009 10:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-4292</guid>
		<description>hey first of all you know that the PHP is dynamic language and specially used for web programming,of course its a open source.The only language very eay to learn and easy to work.i think you just not a beginner in PHP.check out the 5.3 version its include namespaces, late static binding, closures, optional garbage collection for cyclic references..etc...
check out http://www.php.net/usage.php</description>
		<content:encoded><![CDATA[<p>hey first of all you know that the PHP is dynamic language and specially used for web programming,of course its a open source.The only language very eay to learn and easy to work.i think you just not a beginner in PHP.check out the 5.3 version its include namespaces, late static binding, closures, optional garbage collection for cyclic references..etc&#8230;<br />
check out <a href="http://www.php.net/usage.php" rel="nofollow">http://www.php.net/usage.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ari</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-3915</link>
		<dc:creator>Ari</dc:creator>
		<pubDate>Thu, 30 Apr 2009 14:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-3915</guid>
		<description>What do you get when you do this in php ?

$a = &#039;54&#039;;
$val = $a[&#039;crap&#039;];
var_dump($val);

you get   string &#039;5&#039;</description>
		<content:encoded><![CDATA[<p>What do you get when you do this in php ?</p>
<p>$a = &#8217;54&#8242;;<br />
$val = $a['crap'];<br />
var_dump($val);</p>
<p>you get   string &#8217;5&#8242;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex downson</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-3705</link>
		<dc:creator>alex downson</dc:creator>
		<pubDate>Wed, 25 Mar 2009 12:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-3705</guid>
		<description>well, i think you are not a good PHP programmer.</description>
		<content:encoded><![CDATA[<p>well, i think you are not a good PHP programmer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cenovis</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-2366</link>
		<dc:creator>Cenovis</dc:creator>
		<pubDate>Sat, 13 Sep 2008 04:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-2366</guid>
		<description>I&#039;m someone who is coming from a mostly Java and C++ background and is in the process of learning PHP5. I understand what you mean by PHP being a bad language; too much freedom kills. 

Most people (even the internet hotshots posting here) need to be protected from themselves most of, if not all of the time. Java knows this, and ensures that the user does not accidentally shoot him or herself in the foot. PHP wants too badly to bite the hand that feeds it. 

Not to say that I don&#039;t like the language, it&#039;s very refreshing to have so much freedom. But for a serious application, or large scale website, I would definitely not use PHP. There&#039;s a lot of naysayers here, but the overwhelming consensus elsewhere on the net seems to agree with you.</description>
		<content:encoded><![CDATA[<p>I&#8217;m someone who is coming from a mostly Java and C++ background and is in the process of learning PHP5. I understand what you mean by PHP being a bad language; too much freedom kills. </p>
<p>Most people (even the internet hotshots posting here) need to be protected from themselves most of, if not all of the time. Java knows this, and ensures that the user does not accidentally shoot him or herself in the foot. PHP wants too badly to bite the hand that feeds it. </p>
<p>Not to say that I don&#8217;t like the language, it&#8217;s very refreshing to have so much freedom. But for a serious application, or large scale website, I would definitely not use PHP. There&#8217;s a lot of naysayers here, but the overwhelming consensus elsewhere on the net seems to agree with you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP, Bahasa Pemrograman yang Tidak Baik? &#124; TKJstembayo, Never Ending Community</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-1836</link>
		<dc:creator>PHP, Bahasa Pemrograman yang Tidak Baik? &#124; TKJstembayo, Never Ending Community</dc:creator>
		<pubDate>Wed, 13 Aug 2008 03:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-1836</guid>
		<description>[...] semula juga tidak percaya akan hal itu. Tetapi, ketika saya membaca artikel dari sebuah blog milik Roshan, saya mulai berpikir. &#8220;Mungkin juga, [...]</description>
		<content:encoded><![CDATA[<p>[...] semula juga tidak percaya akan hal itu. Tetapi, ketika saya membaca artikel dari sebuah blog milik Roshan, saya mulai berpikir. &#8220;Mungkin juga, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Audi Nugraha</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-1376</link>
		<dc:creator>Audi Nugraha</dc:creator>
		<pubDate>Thu, 03 Jul 2008 07:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-1376</guid>
		<description>7) Irrational one. Ever tried yourself? I think you&#039;re just fell in love with Java.</description>
		<content:encoded><![CDATA[<p>7) Irrational one. Ever tried yourself? I think you&#8217;re just fell in love with Java.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arwind Prasad</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-1274</link>
		<dc:creator>Arwind Prasad</dc:creator>
		<pubDate>Tue, 24 Jun 2008 13:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-1274</guid>
		<description>I am using PHP since last 4 years and i have never feel any lack of resources in it. This looks very simple for beginners but as you go in depth of php you will find alot about PHP.</description>
		<content:encoded><![CDATA[<p>I am using PHP since last 4 years and i have never feel any lack of resources in it. This looks very simple for beginners but as you go in depth of php you will find alot about PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ernie</title>
		<link>http://roshanbh.com.np/2007/12/php-a-bad-programming-language-dark-side-of-php.html/comment-page-1#comment-634</link>
		<dc:creator>Ernie</dc:creator>
		<pubDate>Fri, 18 Apr 2008 13:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/php-a-bad-programming-language-dark-side-of-php/#comment-634</guid>
		<description>I definitely agree with the author. PHP really do have some issues to say the least. I have to say I&#039;m quite surprised that people don&#039;t see PHP as slow. Some say it&#039;s not because it&#039;s cachable. Well, I&#039;d say that&#039;s proof of it being slow and need caching to be fast enough (as the author argue). Using caching and accelerator it&#039;s possible to achieve in some cases about 5 times better performance. In my opinion that&#039;s hard evidence that there are some tricks that can be applied which will give a boost in speed. Now I&#039;m really wondering why this isn&#039;t a part of PHP. If PHP is suppose to be fast, shouldn&#039;t that be included by default?

One thing that&#039;s not mentioned here is I18N (internationalization) and Unicode. PHP is useless if you want any of that. For starters both mbstring and iconv accept Unicode code-point that really, really, really shouldn&#039;t be accepted. For instance U+D800 to U+DFFF is perfectly valid even though no Unicode encoding is using it, because in reality it&#039;s byte sequences that are used in UTF-16 to support astral planes (stuff above U+FFFF). Last time I checked, allowing such is regarded as a potential security problem (don&#039;t ask me why). Even so, I&#039;m quite curios to know which byte sequences this is going to be translated to in UTF-16. Yeah, and did I mention Unicode is a 16-17 year old standard or something? IMO this should be supported a very, very long time ago. Say at least PHP4 and definitly PHP5.

Anyway, without proper support for Unicode, I18N is just about impossible to achieve. It&#039;s not the only problem though. Proper support for I18N require locale sorting abilities, searching, to upper/lower case etc. none of it being remotely available in PHP. Mbstring doesn&#039;t even have case-less matching! ... and no, it&#039;s not a matter of using strcmp and mb_strtolower. Case-less matching requires something called &quot;case folding&quot;, and that&#039;s definitely NOT the same as lower case.

The lack of Unicode and I18N in addition to in-consequent naming convention are the main reasons why I wouldn&#039;t develop any major web-applications in PHP. It just isn&#039;t suited for it. Maybe PHP6 will change that, but PHP6 is not going to be available for quite while.</description>
		<content:encoded><![CDATA[<p>I definitely agree with the author. PHP really do have some issues to say the least. I have to say I&#8217;m quite surprised that people don&#8217;t see PHP as slow. Some say it&#8217;s not because it&#8217;s cachable. Well, I&#8217;d say that&#8217;s proof of it being slow and need caching to be fast enough (as the author argue). Using caching and accelerator it&#8217;s possible to achieve in some cases about 5 times better performance. In my opinion that&#8217;s hard evidence that there are some tricks that can be applied which will give a boost in speed. Now I&#8217;m really wondering why this isn&#8217;t a part of PHP. If PHP is suppose to be fast, shouldn&#8217;t that be included by default?</p>
<p>One thing that&#8217;s not mentioned here is I18N (internationalization) and Unicode. PHP is useless if you want any of that. For starters both mbstring and iconv accept Unicode code-point that really, really, really shouldn&#8217;t be accepted. For instance U+D800 to U+DFFF is perfectly valid even though no Unicode encoding is using it, because in reality it&#8217;s byte sequences that are used in UTF-16 to support astral planes (stuff above U+FFFF). Last time I checked, allowing such is regarded as a potential security problem (don&#8217;t ask me why). Even so, I&#8217;m quite curios to know which byte sequences this is going to be translated to in UTF-16. Yeah, and did I mention Unicode is a 16-17 year old standard or something? IMO this should be supported a very, very long time ago. Say at least PHP4 and definitly PHP5.</p>
<p>Anyway, without proper support for Unicode, I18N is just about impossible to achieve. It&#8217;s not the only problem though. Proper support for I18N require locale sorting abilities, searching, to upper/lower case etc. none of it being remotely available in PHP. Mbstring doesn&#8217;t even have case-less matching! &#8230; and no, it&#8217;s not a matter of using strcmp and mb_strtolower. Case-less matching requires something called &#8220;case folding&#8221;, and that&#8217;s definitely NOT the same as lower case.</p>
<p>The lack of Unicode and I18N in addition to in-consequent naming convention are the main reasons why I wouldn&#8217;t develop any major web-applications in PHP. It just isn&#8217;t suited for it. Maybe PHP6 will change that, but PHP6 is not going to be available for quite while.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/19 queries in 1.076 seconds using disk: basic
Object Caching 408/408 objects using disk: basic

Served from: roshanbh.com.np @ 2012-05-17 05:34:32 -->
