<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>LeafStorm</author><text>Deployment, for one. sudo apt-get install Apache and PHP, then edit the Apache config to say, &amp;quot;use this directory.&amp;quot; I love Django and Flask to pieces, but deploying a Python app is like building a hovercraft compared to PHP.</text><parent_chain><item><author>leokun</author><text>In what ways is PHP less hassle than Python? I don&amp;#x27;t understand this argument.</text></item><item><author>asnyder</author><text>I code in Python, BASH, C, and PHP on a regular basis and still strongly prefer PHP for everyday coding and hobby tasks. I even prefer to create command-line scripts in PHP (though will switch to Python if it&amp;#x27;s large to begin with). For me getting Flask to work properly under NGINX + uwsgi was such a hassle. Having to tell it what module, and hooking things up to touch versus just passing to PHP under fast cgi.&lt;p&gt;To be honest, PHP is really just simpler, less hassle, and if you know what you&amp;#x27;re doing things come out structured well. Just stick to classes (Including statics! There shouldn&amp;#x27;t be a define() anywhere.), use namespaces, use composer (I&amp;#x27;ve come to really like it), and use a coding standard.</text></item><item><author>Almaviva</author><text>Are the complaints about PHP even controversial? The built in library functions are a mess, and mostly terrible. The syntax and basic language are overly verbose and have layers upon layers of cruft. The type and object systems are grafted on, and have so many gotchas and inconsistencies that it takes many months to understand enough of them to be very productive in the language. The aspects of PHP that were intended to make it simple (like pretending types don&amp;#x27;t exist) actually make it more difficult to reason about precisely. I don&amp;#x27;t think anyone who knows anything else would ever choose PHP for a fun personal project.&lt;p&gt;Despite this, there is nothing in PHP that prevents you from doing the thing you want to do, however you want to do it. As projects become larger and involve more time and people, the fine grain of line syntax fades out of view, and all that is left is the large scale design decisions, which are similar in any language. And this is what ultimately determines the technical success or failure of software.</text></item><item><author>DigitalSea</author><text>Adams actually makes some very valid arguments in this PDF. People like to argue the superiority of languages, but at the end of the day if the result in PHP is the same as it is in Ruby &amp;amp; Rails, Java, .NET or whatever, does it really make what the language is? Another good point is the efficiency of a developer working in PHP. The language is easy, it&amp;#x27;s so easy to be a PHP master after a few years working in the language. It&amp;#x27;s easy to find super-talented PHP developers compared to any other language.&lt;p&gt;I like the idea of opt-in typing for PHP via Hack which you can enter by beginning your PHP code with &amp;lt;?hh — Facebook have essentially taken everything that is wrong with PHP, every complaint that someone has ever published in a blog post or bug report, forum or IRC channel and built it into an improvement of the language.&lt;p&gt;PHP isn&amp;#x27;t going anywhere. It might be one of the oldest web languages, but I think the PHP space is starting to get better with Facebook&amp;#x27;s contributions to the language, Laravel 4 being a solid PHP framework and we can&amp;#x27;t forget that most Yahoo! products are built using PHP as well (even the recently acquired Tumblr is coded in PHP). Flickr! is probably one of their biggest PHP applications.&lt;p&gt;Event hough Facebook appear to have resolved the many complaints and problems of PHP, I am sure people will still find a way to complain about the language that powers most of the web...</text></item></parent_chain></comment><story><title>Taking PHP Seriously [pdf]</title><url>https://raw.github.com/strangeloop/StrangeLoop2013/master/slides/sessions/Adams-TakingPHPSeriously.pdf</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>asnyder</author><text>I&amp;#x27;m going to say it, better documentation. I don&amp;#x27;t know, maybe it&amp;#x27;s just me, but I find it takes me significantly less time do find out how to do something in PHP, or a PHP library than in the corresponding Python. Though, there are obviously exceptions to this.</text><parent_chain><item><author>leokun</author><text>In what ways is PHP less hassle than Python? I don&amp;#x27;t understand this argument.</text></item><item><author>asnyder</author><text>I code in Python, BASH, C, and PHP on a regular basis and still strongly prefer PHP for everyday coding and hobby tasks. I even prefer to create command-line scripts in PHP (though will switch to Python if it&amp;#x27;s large to begin with). For me getting Flask to work properly under NGINX + uwsgi was such a hassle. Having to tell it what module, and hooking things up to touch versus just passing to PHP under fast cgi.&lt;p&gt;To be honest, PHP is really just simpler, less hassle, and if you know what you&amp;#x27;re doing things come out structured well. Just stick to classes (Including statics! There shouldn&amp;#x27;t be a define() anywhere.), use namespaces, use composer (I&amp;#x27;ve come to really like it), and use a coding standard.</text></item><item><author>Almaviva</author><text>Are the complaints about PHP even controversial? The built in library functions are a mess, and mostly terrible. The syntax and basic language are overly verbose and have layers upon layers of cruft. The type and object systems are grafted on, and have so many gotchas and inconsistencies that it takes many months to understand enough of them to be very productive in the language. The aspects of PHP that were intended to make it simple (like pretending types don&amp;#x27;t exist) actually make it more difficult to reason about precisely. I don&amp;#x27;t think anyone who knows anything else would ever choose PHP for a fun personal project.&lt;p&gt;Despite this, there is nothing in PHP that prevents you from doing the thing you want to do, however you want to do it. As projects become larger and involve more time and people, the fine grain of line syntax fades out of view, and all that is left is the large scale design decisions, which are similar in any language. And this is what ultimately determines the technical success or failure of software.</text></item><item><author>DigitalSea</author><text>Adams actually makes some very valid arguments in this PDF. People like to argue the superiority of languages, but at the end of the day if the result in PHP is the same as it is in Ruby &amp;amp; Rails, Java, .NET or whatever, does it really make what the language is? Another good point is the efficiency of a developer working in PHP. The language is easy, it&amp;#x27;s so easy to be a PHP master after a few years working in the language. It&amp;#x27;s easy to find super-talented PHP developers compared to any other language.&lt;p&gt;I like the idea of opt-in typing for PHP via Hack which you can enter by beginning your PHP code with &amp;lt;?hh — Facebook have essentially taken everything that is wrong with PHP, every complaint that someone has ever published in a blog post or bug report, forum or IRC channel and built it into an improvement of the language.&lt;p&gt;PHP isn&amp;#x27;t going anywhere. It might be one of the oldest web languages, but I think the PHP space is starting to get better with Facebook&amp;#x27;s contributions to the language, Laravel 4 being a solid PHP framework and we can&amp;#x27;t forget that most Yahoo! products are built using PHP as well (even the recently acquired Tumblr is coded in PHP). Flickr! is probably one of their biggest PHP applications.&lt;p&gt;Event hough Facebook appear to have resolved the many complaints and problems of PHP, I am sure people will still find a way to complain about the language that powers most of the web...</text></item></parent_chain></comment><story><title>Taking PHP Seriously [pdf]</title><url>https://raw.github.com/strangeloop/StrangeLoop2013/master/slides/sessions/Adams-TakingPHPSeriously.pdf</url></story>